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

Andreas Huggel ahuggel at gmx.net
Tue Apr 6 15:53:11 BST 2010


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





--- Comment #28 from Andreas Huggel <ahuggel gmx net>  2010-04-06 16:53:06 ---
Marcel,

The issues mentioned in comment #27 are not due to exiv2 - they can easily be
reproduced with any other tool.

As for tag 0xb, try the following:

1 - Take a (minimal) TIFF image.tif
2 - Add the tag with any program that can do this properly, e.g., with exiftool
-ProcessingSoftware=exiftool image.tif
3 - Open in GIMP

And you'll get that "invalid TIFF directory; tags are not sorted in ascending
order" error. The error itself is wrong - wherever it comes from. The image is
perfectly ok, and the tags are correctly sorted in ascending order.

As for the warnings for the other two tags - 0x4746 and 0x4749 - refer to quote
from the TIFF specs in comment #24. A TIFF-reader needs to be able to deal with
unknown tags. Issuing a warning is fine I guess but the warning can be ignored,
the image is fine.

It would cripple exiv2 if I'd disallow writing non-standard TIFF tags. Instead
if you decide they should not occur in a TIFF image, digiKam needs to suppress
them.

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