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

Andreas Huggel ahuggel at gmx.net
Sat Dec 8 12:14:31 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         




------- Additional Comments From ahuggel gmx net  2007-12-08 12:14 -------
Created an attachment (id=22410)
 --> (http://bugs.kde.org/attachment.cgi?id=22410&action=view)
The same picture as attachment 1 with fixed IPTC IRB sizes

The original image contains two APP13 Photoshop 3.0 segments, both contain an
IRB with IPTC data. However, both of these IRBs have wrong sizes (0x0adf for
both). The new attachment is the same image as the original but the IRB sizes
are fixed (0xffdc and 0x0b04). Using some new code (not checked-in yet) to
parse the JPEG segments, I can now get all the IPTC datasets out of this image
with exiv2, including the preview image (68198 bytes JPEG thumbnail). However,
exiftool doesn't like the way the IPTC data is split over the two IRBs, and I
have no specification which says how it is actually supposed to be done. So I'm
not sure yet what it should be.


More information about the Kde-imaging mailing list