[Digikam-devel] [Bug 211758] Saving TIFF-16 compressed using exiv2 0.18 shows odd results

Andreas Huggel ahuggel at gmx.net
Tue Apr 6 18:02:20 BST 2010


https://bugs.kde.org/show_bug.cgi?id=211758





--- Comment #30 from Andreas Huggel <ahuggel gmx net>  2010-04-06 19:02:16 ---
Finally, the "emboss effect":

Apparently 'Adobe Deflate' compression requires the 'Predictor' field, which
seems to get removed in the libkexiv2/Exiv2 call. The broken images can be
fixed by adding the tag again with a Short value 2, e.g., 

exiv2-0.19 -M'set Exif.Image.0x013d Short 2' MINOLTA-DYNAX7D-04.tif

using the sample from Gilles in comment #9.

This issue is fixed in the current Exiv2 trunk revision - Exiv2 now
differentiates between image tags and metadata, and does not modify any image
tags (http://dev.exiv2.org/issues/show/668). And the 'Predictor' tag is an
image tag.

(Note that also means the command above won't work with the current exiv2 from
trunk - it will ignore the command because it attempts to set an image tag.)

Gilles, following the steps from comment #9 you should not be able to reproduce
this emboss effect anymore using exiv2 from the trunk. Can you confirm that?

Andreas

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list