2005.06.28 09:09 "[Tiff] Simpler interface than strip-oriented interface", by Katrina Maramba

2005.08.19 08:27 "Re: [Tiff] TIFF Thumbnail", by Joris Van Damme

Katrina,

Your quoting style is defenetly improving. Thanks for posting a message that doesn't take so much effort to 'decode'!

However, you may or may not be aware, but there's still two problems left:

The best solution, depending on your mail client, might be to not include a HTML version at all, thus being able to focus on the single plain text version and get that right. It is recommended to not post HTML to the mailing list anyway. Thanks again for caring!

Assuming that I have determined that this image has a thumbnail indeed, can I go and look for the thumbnail's IFD and and parse it like the main image's directory (which is (for example) call TIFFReadDirectory)?

And if so, can I also go and look for the thumbnail's strip (using strip offsets and strip byte count) and process the thumbnail using TIFFReadRGBAStrip (which would generate RGB data)?

If not, what would be the correct API to call to process the thumbnail?

Yes, if the thumbnail is indeed a regular IFD (as opposed to private tag data as including in the Photoshop tag and such), then all normal IFD handling applies. There is no difference in actual format, nor in LibTiff decoding api, between a 'regular' image and a thumbnail thereof.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html