[Digikam-devel] [Bug 150801] Thumbnail and image view does not update after editing image

Paweł Marciniak pave at o2.pl
Sun Nov 18 23:56:47 GMT 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=150801         




------- Additional Comments From pave o2 pl  2007-11-19 00:56 -------
Gilles,

You are right that the bug is fixed, in the sense that the JPEG metadata is not being corrupted. The problem is that when that happens, the whole metadata saving process is aborted, leaving the file without any metadata.

Ideally, only the IPTC preview should be skipped IMHO. But in order to do it, the exiv2 lib would have to be changed. Currently if the preview is too big, the Exiv2::JpegBase::doWriteMetadata() function throws an exception and doesn't continue.

I think nothing can be done here on the side of digiKam, because even at the lowest level, all metadata is written in one Exiv2 call (from KExiv2Iface::KExiv2::save()) and once that call throws, we end up with nothing.

Paweł



More information about the Digikam-devel mailing list