AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.01.16 11:07 "How to interpret 16-bit GrayScale image?", by Bad Badtz
[...]
2002.01.21 13:19 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
2002.01.21 10:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.21 16:13 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
2002.01.21 17:23 "Re: How to interpret 16-bit GrayScale image?", by Daniel McCoy
[...]

2002.01.21 10:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz

Hi,

I had constructed a windows bitmap using HBITMAPINFOHEADER and had hoped to get an unsigned 16-bit grayscale image. But unfortunately, like what Marti Maria and Peter had said, I got a colored image instead. I realized that once the bitCount is more than 8 bits, the image is taken as RGB image with no color table.

Thanks Marti for your help on converting the 16-bit grayscale image to 8 bit, but as I can't afford to lose the information, i might need to spend more effort and convert the 16-bit to 24-bit instead.

A question, does TIFF supports both unsigned 16-bit colored and grayscale images?

Thanks!
Nicole