AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.30 19:41 "[Tiff] reading 16 bit grayscale", by Rick Schumeyer
2005.03.30 19:52 "Re: [Tiff] reading 16 bit grayscale", by Bob Friesenhahn
2005.03.30 19:59 "Re: [Tiff] reading 16 bit grayscale", by Joris

2005.03.30 19:41 "[Tiff] reading 16 bit grayscale", by Rick Schumeyer

I've searched the FAQ and the archives, and I've seen some discussion

about 16 bit grayscale images. But I haven't seen the answer to:

how can I use libtiff to read a 16 bit grayscale tiff? I don't want to display

it, and I don't want it converted to 8-bit. I just want access to the
16-bit

values.

My guess is that I should use something like TIFFReadScanLine. Is this

correct? Is there a way to read the entire image in one call?

Thanks.