From: tmg@bc.sympatico.ca
Date: Mon 20 Sep 1999 - 00:41:04 IST
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.
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST