Version: 0.10.0 (using KDE 4.2.2) Compiler: gcc 4.3.3 OS: Linux Installed from: Ubuntu Packages If I load a RAW (with metadata) in digikam, save it as a PNG and test it with pngcheck (2.0.0), this is what I get: "CRC error in chunk zTXt (actual d550028e, should be f690a1e1)". Note that: * this occours always (with digikam-converted PNGs) * I don't know if it's the same with other image formats * digikam reads its PNG's metadata just right
Use last Exiv2 0.18.1 with digiKam/libkexiv2 and try again... Gilles Caulier
I've tried but nothing changes.
CRC is computed and set by Exiv2 library, not digiKam directy. Can you reproduce it when you change something in PNG using Exiv2 command line tool ? Gilles Caulier
Yes, I was able to reproduce it (I've used this command: exiv2 -M"set Exif.Photo.UserComment charset=Ascii New Exif comment" no_metadata.png).
Well, it's a bug in Exi2 PNG image parser... Gilles
Thank you for your help.
Can you please attach the image no_metadata.png here, or better, open an issue for Exiv2 with the same instructions and image to reproduce the problem at http://dev.exiv2.org/projects/exiv2/issues Thanks, Andreas
I've opened an issue for exiv2 with the two images. I think that this bug can now be closed.
Exiv2 file open here : http://dev.exiv2.org/issues/show/630 Gilles Caulier
See my comment in : http://dev.exiv2.org/issues/show/638 Exiv2 r1818 fix the problem. Gilles Caulier