Page 1 of 1

Posted: 2006-11-23T13:39:03-07:00
by magick
Use writePixels() to transfers one or more pixel components from the image pixel cache to a buffer.

Posted: 2006-11-27T08:07:14-07:00
by magick
You must allocate the buffer you pass to writePixels(). It cannot be NULL.

Posted: 2006-11-27T10:34:58-07:00
by magick
You can use whatever you want to allocate memory, new, malloc, mmap(), whatever. Its size should be 4 * width * height * 2.