AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

2003.09.30 15:16 "[Tiff] Reading thumbnail", by Kai-Uwe Behrmann

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).

Kai-Uwe Behrmann