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

Andreas Huggel ahuggel at gmx.net
Mon Apr 19 04:58:29 BST 2010


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





--- Comment #45 from Andreas Huggel <ahuggel gmx net>  2010-04-19 05:58:21 ---
Marcel,

That "chained IFD" is what digiKam generates today. I think it's not the
correct way to create a thumbnail. Instead I suggest to create the thumbnail
either (1) in IFD0 according to TIFF/EP standard or (2) in a sub-IFD as
suggested in the Adobe PageMaker TIFF Technical Note.

Using libtiff, see the file tools/thumbnail.c for an example. I believe it
creates a thumbnail according to method (2).

With Exiv2, conceptually you do the same, i.e., add the relevant tags, but I
don't have a good sample. I don't mind writing one, it's a good use-case. Will
post it here.

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