2004.02.24 20:02 "[Tiff] Support for 16-bits per sample images", by Mayank

2004.02.24 15:39 "Re: [Tiff] Support for 16-bits per sample images", by Andrey Kiselev

Does the libtiff library supports 16-bits per sample images for both RGB and CMYK images?

If Yes, then what is the latest version that supports it?

Also, I found that, the version that i have, does have some level of support for 16-bit RGB images, but it just truncates the data from 16-bits to 8-bits to store it as an 8-bit image. Is this statement correct?

I think you are speaking about TIFFRGBAImage interface. This interface doesn't intended to be a solution for complex image processing tasks. If you want to work with 16-bit images you should use TIFFReadEncodedStrip()/TIFFReadTile() functions and don't rely on autoconversion logic performed by the TIFFReadRGBAImage().

Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517