[Kde-imaging] [Bug 152210] New: Metadata lost when converting from png to jpeg (IPTC thumbnail too big)

Paweł Marciniak pave at o2.pl
Mon Nov 12 18:26:33 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152210         
           Summary: Metadata lost when converting from png to jpeg (IPTC
                    thumbnail too big)
           Product: kipiplugins
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: batchprocessimages
        AssignedTo: kde-imaging kde org
        ReportedBy: pave o2 pl


Version:           svn (using KDE KDE 3.5.8)
Installed from:    Unlisted Binary Package
OS:                Linux

A preview (an embeded and reduced JPEG image) that is set by digiKam in IPTC to speed up preview loading (F4) can be larger than 64Kb (see iptc/iim paper) and a jpeg section (used to embeded iptc in jpeg file) is limited to 64Kb. There is no size limitation with PNG (or TIFF). Therefore, when png files are created at the time of downloading images from camera, too big previews are generated.
After converting such pngs to jpegs with batch convert and trying to open new jpegs in digiKam, no metadata are shown (neither IPTC 
nor EXIF) and the console says:
Warning: IPTC dataset Iptc.Application2.Preview has invalid size 67904; skipped.

IPTC data should be stripped during conversion ('convert +profile iptc') so that at least EXIF is readable in the newly created jpegs.


More information about the Kde-imaging mailing list