On Jan 27, 2008, at 8:22 PM, erik quanstrom wrote:

(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).