2010.08.22 01:07 "Re: [Tiff] how to open a 16bit tiff file", by Olivier Paquet
On Mon, Aug 16, 2010 at 10:12 PM, oguz ahsen <oahsen@gmail.com> wrote:
Dear all,
I am trying to open a tiff file having its pixels as 16bit values. However, when I use the "TIFFReadRGBAImage" function to get the image, it converts the values automatically to 8bit. What can I do get the pixels in their original 16bit values?
You might have to use a different API, such as TIFFReadScanline. Or TIFFReadEncodedStrip / TIFFReadTile. I believe all three will return the 16 bit values.
Olivier