Hugh Senior wrote:

I have a 10px x 10px image. There is a 1px black border with a colour fill.

How do I set the colour fill of the image using an arbitrary RGB value?

It needs to be a mathematical approach setting the pixel data directly
(taking and applying a screen shot of a graphic is going to be too slow).

If you need to change it often you could take the lazy approach: just make the portion you want to change transparent, and group the image with a rectangle graphic beneath it.

--
 Richard Gaskin
 Fourth World Systems
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter: http://twitter.com/FourthWorldSys

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to