[Kde-imaging] [Bug 152210] Metadata lost when converting from png to jpeg (IPTC thumbnail too big)
PaweÅ Marciniak
pave at o2.pl
Mon Nov 19 23:52:08 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
pave o2 pl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
------- Additional Comments From pave o2 pl 2007-11-19 23:52 -------
Unfortunately, there's still a problem when Exiv2 is supposed to load the metadata corrupted by convert program. The image->readMetadata() call in kexiv2.cpp:381 says:
Warning: IPTC dataset Iptc.Application2.Preview has invalid size 120301; skipped.
Warning: Failed to decode IPTC metadata.
It's happening during construction of the metaTgt object in convertimagesdialog.cpp. So the object is broken and further call to metaTgt.applyChanges() throws Exiv2 error 22: Input data does not contain a valid image.
The first solution that comes to my mind is to use source metadata as a base for removing the preview, but then we loose the changes to metadata that convert program probably does.
More information about the Kde-imaging
mailing list