[Digikam-devel] [Bug 130525] Saving large (>5M) jpg's result in corrupt file

Florencio Guimaraes florencio at omeu.com.br
Thu Jul 13 05:16:43 BST 2006


------- 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=130525         




------- Additional Comments From florencio omeu com br  2006-07-13 06:16 -------
I think is a bug is Exiv2. Here, only when the IPTC image preview is larger than 65536 bytes the JPEG gets corrupted. As a (hack|workaround|test)?
changing line 1517 in
 
libs/dmetadata/dmetadata.cpp to:

preview.save(previewFile.name(), "JPEG", 50);

gives me always a smaller than 64K preview, and no corrupt JPEG.

And, BTW about comment #16 from J.Westveer: my original files doesn't have
any IPTC data.



More information about the Digikam-devel mailing list