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 2010

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

2010.08.17 02:12 "how to open a 16bit tiff file", by Oguz Ahsen
2010.08.22 01:07 "Re: how to open a 16bit tiff file", by Olivier Paquet

2010.08.22 01:07 "Re: 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