Jump to content
Sign in to follow this  

PixelSearch confusion

Recommended Posts


could someone help me understand the PixelSearch function.

Having read the help file, PixelSearch finds a pixel of a specified color within a defined rectangle, then stores the x,y coords in an array. My question is, what happens if there is more than 1 pixel of that color, which x,y does it find?

What if I want to find ALL instances of a certain pixel color within a defined rectangle - could I use some kind of loop and store the result(s) in an array the same size as the rectangle? Would PixelGetColor be better for this though?

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.