Page 1 of 1

Changing individual pixels from white to black (or vice vers

Posted: Mon Sep 14, 2015 6:01 am
by Josh1910
Hi all,

I'm trying to set up a box that will randomly change a certain number of pixels from the default color to a new color (probably from white to black). However, I've just learned that Visual Basic can do this with a single line of code. I'm still struggling to find out if LiveCode has a similar ability (to isolate and change the color of single pixels). Any help would be appreciated.

Re: Changing individual pixels from white to black (or vice

Posted: Mon Sep 14, 2015 9:48 am
by jmburnod
Hi Josh,

Bernd have written a script to do that.
Please have a look here and write back if necessary
http://forums.livecode.com/viewtopic.ph ... lue#p60272
Best regards
Jean-Marc