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.16 14:52 "RE: How to interpret 16-bit GrayScale image?", by Paul Beaty
2002.01.21 03:06 "RE: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.21 05:21 "Re: How to interpret 16-bit GrayScale image?", by Peter Montgomery
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 15:24 "RE: How to interpret 16-bit GrayScale image?", by Michael DeChaine
2002.01.21 16:33 "RE: How to interpret 16-bit GrayScale image?", by Bob Friesenhahn
2002.01.21 17:23 "Re: How to interpret 16-bit GrayScale image?", by Daniel McCoy
2002.01.21 23:26 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
2002.01.21 19:57 "Re: How to interpret 16-bit GrayScale image?", by Daniel McCoy
2002.01.23 04:18 "Re: How to interpret 16-bit GrayScale image?", by Kevin D. Quitt
2002.01.24 05:07 "Re: How to interpret 16-bit GrayScale image?", by Kevin D. Quitt
2002.01.25 14:27 "Re: How to interpret 16-bit GrayScale image?", by Thomas Kumlehn
2002.01.16 16:12 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
2002.01.24 01:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz

2002.01.21 03:06 "RE: How to interpret 16-bit GrayScale image?", by Bad Badtz

Hi,

Thanks Paul and Marti Maria for responding to my previous email.

>From ur replies, can I say that TIFF does support both unsigned 16-bit RGB and grayscale images?

The problem i encountered now is that I need to construct a HBitmap using the grayscale image data, but instead of getting a grayscale image, I am always getting a colored image. It seems that once the number of bits per pixel is more than 8, it assumes that it is a RGB image. Therefore, instead of using each image data as an index to the color table (i have constructed the color table with size 65536), each individual value is taken as a RGB value.

Does anyone have a solution to my problem? Would converting the unsigned 16-bit grayscale image to a RGB image works?

Please help! Thanks!!!

regards,
Nicole