Sign in to follow this  
Followers 0

Modified Pixelrect Finder

1 post in this topic

Larry has written some awesome code on a pixel rect finder. ( )

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:




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:

Share this post

Link to post
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
Sign in to follow this  
Followers 0