Setting Pixels
Scott Rossi
scott at tactilemedia.com
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:
http://sonsothunder.com/devres/metacard/tips/imag003.htm
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
started.
(I just used this last night -- thank Ken!)
Regards,
Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list