> Here is I would wish to reproduce the feature of the magic wand of
> photoshop. She allows in other one to select zones of same colour.
> 
> Please , know a xtra which I could use or can you indicate me a track in
> lingo. Thanks in advance.

Don't know about Xtras but off the top of my head you could use GetPixel with the 
image of the sprite's member. 

Build an array of all points in the member which have the RGB value of the pixel under 
the MouseLoc using a repeat loop and going through each pixel using column and row 
repeat loops.

I'm not sure what you want to do with the results. You could use the new array to 
highlight the selected pixels for example. 

You could also create a 'tolerance' by allowing RGB values, say +10 to -10, of the 
specified amount and highlight all pixels in that range.

I'm sure somebody else could put this a lot better!

Leon



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to