Hi, ok here is the sinario. I have an 8-bit color stored in an int. I would like to convert that into a 16-bit color to display on the screen. I know this has to be really easy, but I can't seem to decide how to go about doing this accuratley. Thanks for your help.
What's the format of the 8-bit color? Is it a palette index, or perhaps 3-3-2?
BTW, an int on the Pocket PC is 32 bits. Why are you wasting 24 bits to store 8-bpp?