9fans archive / 2008 / 01 / 465 / prev next From: Pietro Gagliardi <pietro10@mac.com> Subject: [9fans] How to read/write pixels from Memimage Date: Fri, 25 Jan 2008 17:05:14 -0500 Hello. I'm porting Bell Labs' Pico image language over to Plan 9 to use the Plan 9 native image format (image(6)), and I chose to use Memimage. I'd like to know how to get the 32-bit RGB pixel information out of a Memimage and into a properly allocated array of u32ints, and to do the reverse. Is that possible? Thanks.