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

Geoff King gsking1 at gmail.com
Sun Oct 14 03:41:16 BST 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 gsking1 gmail com  2007-10-14 04:41 -------
Been messing around with this and have new info.  This looks to be related to the IPTC Preview tag that is added by the editor when editing and saving these scanned PNG files as PNG again.  Then when save the second generation PNG as JPG the preview tag is carried over into the subsequent JPG files. The PNG files are from xsane and were 16bit PNG. 

These tags were added and are part of the problem:

Iptc.Application2.Preview                    Undefined 30118  255 216 255 224 0 16 74 70 73 70 0 1 1 2 0 0 0 0 0 0 .....etc...

Iptc.Application2.PreviewFormat              Short       1  11
Iptc.Application2.PreviewVersion             Short       1  1

If i remove Iptc.Application2.Preview using the the following command the files are recognized, and digikam updates the thumbnails.
exiv2 -M"del Iptc.Application2.Preview" test1.jpg

In summary, the problem I am having appears to be due to the embedded Preview tags that are inserted into the PNG files in the editor when re-saving as a PNG file.  This only happens when using original PNG files. 

1 Create image using scanner as PNG
2 Use digikam editor on PNG file and save as PNG (preview tag is added)
3 Save as JPG file, preview tag is copied into jpg.
4 Digikam and Nautilus do not like these files with the IPTC Preview
5 Can then manually delete the Iptc.Application2.Preview tag to make things work again.

Let me know if you would like a test file.



More information about the Digikam-devel mailing list