Hello. I am generating a bitmap picture from a binary file. I am using SetPixel(unsigned long RGB_colour) to display the binary data on the screen.
The problem is that the values are 16 bit (that means that the value can have 64000 different color aspects). and, I whant to display the picture in black and white (greytones), not in all the colours of the rainbow.
The method I use so far is to make my 16 bit value into an 32 bit value that fits in the SetPixel(32-bit-value) = setpixel(transparancy, red, green, blue)
But as I said, this only gives me a colourful image.
Hope you guys understand what I am trying to do her...
Kristian