james-see / iptcinfo3

iptcinfo working for python 3 finally do pip3 install iptcinfo3
51 stars 31 forks source link

png support #25

Closed machin3io closed 3 years ago

machin3io commented 3 years ago

It looks like png support is missing, and I'm just wondering if it's on the roadmap? gthumb seems to use ictp over exif to store comments and tags, and I haven't found a way to read those for pngs.

Working great for jpg though, so thanks!

james-see commented 3 years ago

@machin3io I think what you are looking for is this: https://www.w3.org/TR/PNG/#11textinfo PNG supports their own weird way to store textual content fields and it is not IPTC at all or EXIF. Also related discussion on stackoverflow answering if it supports exif: https://stackoverflow.com/questions/8113314/does-png-support-metadata-fields-like-author-camera-model-etc

james-see commented 3 years ago

@machin3io does this answer your question?

machin3io commented 3 years ago

Yes thank you, you can close this. FWIW, I'm actually using py3exiv2 now, which does seem to be able to write IPTC tags to png.

james-see commented 3 years ago

@machin3io cool, good to know. Thanks!