Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Adding properties to a file

by philipbailey (Curate)
on Mar 24, 2021 at 14:12 UTC ( [id://11130270] : note . print w/replies, xml ) Need Help??


in reply to Adding properties to a file

"Properties" is quite a vague term, whose meaning depends on the context. But you've mentioned PNG files, so you presumably mean that you want to modify Exif data. I don't recall doing that from Perl, but there seem to be a number of Exif-related modules around: https://metacpan.org/search?size=20&q=exif. Perhaps somebody here has an opinion on which is best.

Replies are listed 'Best First'.
Re^2: Adding properties to a file
by BernieC (Pilgrim) on Mar 24, 2021 at 15:06 UTC
    Yes, "properties" is vague - that's just what explorer lumps all of that "extra" data into.

    but I think you've given me the key idea: EXIF. I'll check out the EXIF modules and see if I can figure out what to do'

    Thanks!