Jump to content

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?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...