2009.06.14 13:24 "[Tiff] Tiff 16 bit and 32 bit images", by Keshab Neupane

2009.06.14 13:24 "[Tiff] Tiff 16 bit and 32 bit images", by Keshab Neupane

Hi All,

I am very beginner in this tiff field, If I say something silly, please excuse me.

I am writing an application to convert/save tiff image into buffer and then back to image from buffer.

For this, I need to handle all types of images. I am having trouble with tiff 16 bits signed/unsigned integer and 32 bit float  images. Does this 16/32 bit means they are colored images or they can be greyscale too? I am using TIFFReadScanline to read the datas, but the problem is my buffer(this is constraint) is char* and how can I access this data if they are 16/32 bit? And also, how does this data relate to bpp,bps and spp? I mean can 16 bit means 16 bit for R,G,B each or 16 bit in total for R,G,B; and same with 32 bit?

Thank you very much for your help.

Best,

Keshab