<div dir="ltr">Hi,<div><br></div><div>You are right, PNG has 2 place to store metadata :</div><div><br></div><div>One older way, very powerfull and implemented first in ImageMagick, using special PNG chunck to store Exif/Itc/Xmp data bytearray.</div><div><br></div><div>digiKam and Exiv2 use this way (i implemented myself this code in Exiv2).</div><div><br></div><div> Adobe few year ago has finally accepted to support PNG and as standardized the XMP only storage in PNG in another chunck. I supose that Exiftool support this Adobe and ImageMagick. </div><div><br></div><div>I'm sure that Exiv2 do not support yet the Adobe solution, as i don't touch Exiv2 PNG code since a while.</div><div><br></div><div>This is why you see a difference between Exiv2 and ExifTool.</div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 24 avr. 2019 à 21:11, woenx <<a href="mailto:marcpalaus@hotmail.com">marcpalaus@hotmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have noticed that there is something funny with metadata in PNG files.<br>
<br>
I sometimes use the exiftool command to edit metadata (mainly add or correct<br>
dates to pictures). I can write and read the metadata from PNG files using<br>
that command, and the metadata seems to be saved correctly.<br>
<br>
However... digikam does not see that metadata. It's like there is nothing in<br>
it. BUT, it can write its own metadata to the same PNG file. <br>
<br>
So, both digikam and exiftool can write and read metadata from PNG files,<br>
but that metadata must be stored in two different places, because a picture<br>
can contain both entries, one for the exiftool metadata, and another for<br>
digikam metadata, and can only be read by each program respectively. And I<br>
am not talking about Exif, XMP or IPTC. Both of them are Exif.<br>
<br>
So, what's going on? Is this normal? <br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html" rel="noreferrer" target="_blank">http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html</a><br>
</blockquote></div>