9fans archive / 2008 / 01 / 492 / prev next From: erik quanstrom <quanstro@qua...> Subject: Re: [9fans] How to read/write pixels from Memimage Date: Sun, 27 Jan 2008 20:22:22 -0500 > Another question: in RGB24, how are colors composited: 0x00RRGGBB or > 0xRRGGBB00? I can't seem to get a picture that is solid red; just a > wacky line art picture. read image(6). all the details are spelled out there. (you likely want an alpha channel in your image, so that each pixel is 4 bytes.) - erik