I have an image in memory as a bunch of RGB values, 0-255. I need to
write these to a buffer suitable to pass to gl_putbox. So, I need to
know the correct byte order, and the number of bits for each red,
green and blue value. I need to do this for all color depths
(24,16,15,8). Can someone please help me out or show me some examples?
Thanks.

Reply via email to