> I've started to have a look at this. QPC (in 65536 colour mode, i.e. > Mode32) stores the colour values in the screen memoey as follows:
> 16 bits per pixel > gggrrrrrbbbbbggg On the Q40, it is gggggrrrrrbbbbbl where l is a luminance value, You in fact use 6 bits for each of the colours, and when the lower bit is set on two or three of the colours, then l is true. Then build the colour using the most significant five bits only (for some demo code, look in the PROforma sources, pf_driv_QVME_c and the the ColourNearest routines. I personally don't think there is any point in having 24 bits colour precision except for some applications. We don't come near to having anything which properly uses 16 bit colour. So sticking to 16 bits makes it much more memory efficient, which is very importent considering the way the Pointer Environment works. Joachim -- Joachim Van der Auwera http://www.triathlon98.com/Joachim/
