JPEG meta-data timestamps

2022-10-08 Thread rir
Are there any Raku modules for extracting meta-data from
JPEG files?  I have looked but not found.

At this point, I just want to extract dates to re-timestamp
the files.  Later, I might use the fix in the pictures to
map to personally defined places.

Rob








Re: JPEG meta-data timestamps

2022-10-08 Thread Elizabeth Mattijsen
Are there any in Perl?  If so, maybe you can use them with Inline::Perl5 ?

> On 8 Oct 2022, at 22:20, rir  wrote:
> 
> Are there any Raku modules for extracting meta-data from
> JPEG files?  I have looked but not found.
> 
> At this point, I just want to extract dates to re-timestamp
> the files.  Later, I might use the fix in the pictures to
> map to personally defined places.
> 
> Rob
> 
> 
> 
> 
> 
> 



Re: JPEG meta-data timestamps

2022-10-08 Thread Henrik Park

the last you can even use Inline::C.


Elizabeth Mattijsen wrote:

Are there any in Perl?  If so, maybe you can use them with Inline::Perl5 ?


--
Simple Mail
https://simplemail.co.in/


Re: JPEG meta-data timestamps

2022-10-08 Thread William Michels via perl6-users
I looked at this issue recently and found the Perl5 executable "ExifTool":

https://unix.stackexchange.com/a/676180/227738
https://exiftool.org/forum/index.php?topic=9224.msg47655#msg47655
https://exiftool.org/forum/index.php?topic=6330.msg31354#msg31354
https://exiftool.org/exiftool_pod.html
https://exiftool.org/

HTH, Bill.

On Sat, Oct 8, 2022 at 6:21 PM Henrik Park  wrote:
>
> the last you can even use Inline::C.
>
>
> Elizabeth Mattijsen wrote:
> > Are there any in Perl?  If so, maybe you can use them with Inline::Perl5 ?
>
> --
> Simple Mail
> https://simplemail.co.in/
>
>
> On 8 Oct 2022, at 22:20, rir  wrote:
>
> Are there any Raku modules for extracting meta-data from
> JPEG files?  I have looked but not found.
>
> At this point, I just want to extract dates to re-timestamp
> the files.  Later, I might use the fix in the pictures to
> map to personally defined places.
>
> Rob
>
>
>
>
>
>


Re: JPEG meta-data timestamps

2022-10-08 Thread Fernando Santagata
Actually there's a Raku module:

https://raku.land/cpan:FRITH/Image::Libexif

It's a thin-layer interface to the libexif, but it works.

On Sat, Oct 8, 2022 at 10:21 PM rir  wrote:

> Are there any Raku modules for extracting meta-data from
> JPEG files?  I have looked but not found.
>
> At this point, I just want to extract dates to re-timestamp
> the files.  Later, I might use the fix in the pictures to
> map to personally defined places.
>
> Rob
>
>
>
>
>
>
>

-- 
Fernando Santagata


Re: JPEG meta-data timestamps

2022-10-08 Thread JJ Merelo
Chapter 2 of my Raku Recipes, published by APress, includes that as one of
the recipes. Here's the code for that recipe:

https://github.com/JJ/perl6-recipes-apress/blob/09a3465726ce96549946401970ae282baa4ba60d/Chapter-2/get-image-size.rk

El dom, 9 oct 2022 a las 8:28, Fernando Santagata (<
nando.santag...@gmail.com>) escribió:

> Actually there's a Raku module:
>
> https://raku.land/cpan:FRITH/Image::Libexif
>
> It's a thin-layer interface to the libexif, but it works.
>
> On Sat, Oct 8, 2022 at 10:21 PM rir  wrote:
>
>> Are there any Raku modules for extracting meta-data from
>> JPEG files?  I have looked but not found.
>>
>> At this point, I just want to extract dates to re-timestamp
>> the files.  Later, I might use the fix in the pictures to
>> map to personally defined places.
>>
>> Rob
>>
>>
>>
>>
>>
>>
>>
>
> --
> Fernando Santagata
>


-- 
JJ