9fans archive / 2008 / 01 / 497 / prev next From: mattmobile@pro... Subject: Re: [9fans] How to read/write pixels from Memimage Date: Mon, 28 Jan 2008 09:24:15 +0000 9fans is not a blog, try blogger.com > > >> (you likely want an alpha >> >> channel in your image, so that each pixel is 4 bytes.) >> > > Apparently, my RGB24 manipulation was wrong, and now it works like a > charm. The next step is to support a construct like new.red and to > eliminate the use of undocumented stuff (I peeked in > /sys/include/draw.h and /sys/src/libbio/brdstr.c for some hacks). >