Selecting or deleting in an image by color or color range?

2005-02-01 Thread Douglas Westbrook
Can an image have a selection by color or color range from within Runtime so as to delete that color or range of colors in the image? It would be like the eraser tool for a color. ___ use-revolution mailing list use-revolution@lists.runrev.com http://l

Selecting or deleting in an image by color or color range?

2005-02-01 Thread Ben Fisher
Here's something I would use: (put in the script of the image) on mouseUp put the mousecolor into mcolor put numtochar(0) & numtochar(item 1 of mcolor) into hexcolor put numtochar(item 2 of mcolor) & numtochar(item 3 of mcolor) after hexcolor put numtochar(255)&numtochar(255)& numtochar(255)&numt

Selecting or deleting in an image by color or color range?

2005-02-01 Thread Ben Fisher
Oops, The script worked for everything I tried. I guess in theory it might possibly erase unintended colors, although the odds of this are slim. In imagedata the colors are handled as a set of four, with the first entry always being zero. My solution might, trying to delete the color 0,12,12,