From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Sun, 27 Jan 2008 20:22:22 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] How to read/write pixels from Memimage In-Reply-To: <19FFCFC6-E151-4A65-8DE6-B3DB3231C312@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3b14ebfc-ead3-11e9-9d60-3106f5b1d025 > 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