-
2005.06.28 14:20 "Re: [Tiff] Simpler interface than strip-oriented interface", by Bob Friesenhahn
- 2005.08.15 01:14 "[Tiff] Re: Question on TIFF images with large stripbytecounts", 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:
- There is a HTML version included. Granted, we don't flame everyone posting HTML, that would otherwise be a lot of work.
- In the HTML version, the complete mail is still marked as quote. That is confusing. Many readers will quickly skim it, used to visually skipping bad over-quotes, and think there's not actually anything of your own added to the quote, and thus not even read it. You may want to solve that, to ensure your messages to actually be noticed. It'll save those who do the additional effort of reading through to find your follow-up question some time, too.
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