IPTC metadata for PNG files #679

Open
opened 2026-10-05 00:11:11 +02:00 by adam · 1 comment
Owner

I'm doing some scans which I would like to keep as PNGs and am adding some simple tagging via Shotwell. exiv2 can see the keywords and the IPTC numbers seem to match what Piwigo is expecting ie

$ exiv2 -PxkIv piwigo/galleries/x/y/img20170719_0093.png
0x0019 Iptc.Application2.Keywords SomeKeyword
0x0041 Iptc.Application2.Program Shotwell
0x0046 Iptc.Application2.ProgramVersion 0.24.5

0x19 is 25, which matches what is expected and which works with JPEGs:

config_default.inc.php: 'iptc_keywords' => '2#025',

Assuming this goes through get_iptc_data, the image's dimensions are correctly loaded, so perhaps it's that php doesn't return $imginfo['APP13'] for png files?

I'm doing some scans which I would like to keep as PNGs and am adding some simple tagging via Shotwell. exiv2 can see the keywords and the IPTC numbers seem to match what Piwigo is expecting ie $ exiv2 -PxkIv piwigo/galleries/x/y/img20170719_0093.png 0x0019 Iptc.Application2.Keywords SomeKeyword 0x0041 Iptc.Application2.Program Shotwell 0x0046 Iptc.Application2.ProgramVersion 0.24.5 0x19 is 25, which matches what is expected and which works with JPEGs: config_default.inc.php: 'iptc_keywords' => '2#025', Assuming this goes through get_iptc_data, the image's dimensions are correctly loaded, so perhaps it's that php doesn't return $imginfo['APP13'] for png files? <!-- github-sync-id:244368367 -->
Author
Owner

Same to me, looks like IPTC Keywords in PNG are ignored in Piwigo.

Same to me, looks like IPTC Keywords in PNG are ignored in Piwigo. <!-- github-comment-id:373951379 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#679