Jump to content

Modified Pixelrect Finder


Recommended Posts

Larry has written some awesome code on a pixel rect finder. ( http://www.autoitscript.com/forum/index.ph...st=0entry9784 )

This script suits me perfect, if I just can get it modified in one way. I need it to be modifed that way that the searched area doesnt have to match all pixels of the rectangle. For example if i got a 3*3 area and the only pixels that need to match are the number ones:

142

216

231

This would return true since the number ones are all there where they should be. Any of the other numbers can change.

I don't dare to modify this nice script all by my self, so I'm asking some nice guy here to give me a hint :D It does not have to check for the "any pixelcolor" pixels, so you could make it only search for cordinates 2,2 and 3,3 if the 1,1 is true. How to implement this in this script?

Sorry for my not that good english :huh2:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...