AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.08.15 01:15 "TIFF Thumbnail", by Katrina Maramba
2005.08.15 02:19 "Re: TIFF Thumbnail", by Joris Van Damme
2005.08.15 14:41 "Re: TIFF Thumbnail", by Ed Grissom
2005.08.15 23:15 "Re: TIFF Thumbnail", by Joris Van Damme
2005.08.19 08:06 "Re: TIFF Thumbnail", by Katrina Maramba
2005.08.19 08:27 "Re: TIFF Thumbnail", by Joris Van Damme
2005.08.24 04:59 "Re: TIFF Thumbnail", by Katrina Maramba
2005.08.24 10:10 "Re: TIFF Thumbnail", by Joris Van Damme
2005.08.26 03:20 "Re: TIFF Thumbnail", by Joris Van Damme

2005.08.19 08:06 "Re: TIFF Thumbnail", by Katrina Maramba

Joris wrote:
>
> The definitive document on thumbnails in TIFF, and related, is the
> specification supplement that describes the SubIFD tag, which can be
> found here:
> 
> http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf
> 
> In short, it says that the SubIFD tag can contain the offset of a
> thumbnail image IFD. That solves a lot of trouble. 
> 
> [..]
> 
> > How can the reader determine if a particular image has a thumbnail
> > or not?
> 
> I recommend your code to do this, in this particular order:
> - Check existence of SubIFD tag. If it's there, make additional sanity
> checks. If all works out, you've got the thumbnail in a child IFD.
> [...]

 

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?  

 

Thank you,

Katrina