Search BitmapData object for matching pixel values from another Bitmap.

Posted by Cos on Stack Overflow See other posts from Stack Overflow or by Cos
Published on 2010-06-16T18:07:24Z Indexed on 2010/06/16 18:12 UTC
Read the original article Hit count: 174

Using Actionscript 3 is there a way to search one bitmap for the coordinates matching pixels of another bitmap?

http://dl.dropbox.com/u/1914/wired.png

Somehow you would have to loop through the bigger bitmap to find and the the pixel range that matches and return those coordinates. For example the Bitmap with the "E" is 250 pixels over and 14 pixels down in the bigger bitmap.

I haven't been able to come up with the solution on my own. Thanks.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3