Setting Pixels

Scott Rossi scott at
Tue Dec 28 17:03:17 EST 2004

Recently, Gordon Webster wrote:

> Here is my question - Dan's book describes the use of
> the 'mouseColor' handler to get the color value of the
> pixel that is below the mouse - is there any way in
> rev, to set the value of an individual pixel?

See Ken Ray's useful explanation here:

This explains how imageData, alphaData and maskData work.  It may be a bit
overwhelming at first, but there's some sample code included to get you

(I just used this last night -- thank Ken!)


Scott Rossi
Creative Director
Tactile Media, Development & Design
E: scott at

More information about the use-livecode mailing list