TIFF and LibTiff Mail List Archive


2003.09.30 14:57 "[Tiff] Reading thumbnail", by
2003.09.30 15:16 "[Tiff] Reading thumbnail", by Kai-Uwe Behrmann
2003.09.30 15:32 "[Tiff] Reading thumbnail", by
2003.10.01 04:08 "[Tiff] Reading thumbnail", by Marco Schmidt
2003.10.01 12:27 "[Tiff] Reading thumbnail", by

2003.09.30 15:32 "[Tiff] Reading thumbnail", by

By reading TIFF Specification, full-size image is in IFD0 and thumbnail is in IFD1.

So, I was trying to get thumbnail data by calling TIFFSetDirectory(tifr,1) after calling TIFFOpen( ).

libtiff start IFD counting with 0. Please try TIFFSetDirectory(tifr,0).

Thanks for your reply!

Maybe, TIFFSetDirectory(tifr,0) sets directory of "full-size" image. but thumbnail is in IFD1. so I was try TIFFSetDirectory(tifr,1) for thumbnail.

any wrong??

I guess that I misunderstand TIFF Specification. Do Anyone know sample code of reading thumbnail of Adobe PhotoShop?

thank you.