dumbledor Posted December 30, 2008 Share Posted December 30, 2008 Hello! I am working on a script that would recognize color of pixels and the number of pixels that are in specific range. Example: $coord = PixelSearch( 587, 248, 690, 267, 0xFFFFFF ) _ArrayDisplay( $coord) If Not @error Then MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1]) I figured that this finds one pixels coordinate in range 587, 248, 690, 267 but i want to find all of them and count them. I would appriciate some hints or tips where to go from here, becouse i am totaly stuck. I was spendig last 4 hours reading posts about pixels but didnt get any ideas. Thanks for help. Link to comment Share on other sites More sharing options...
ofLight Posted December 30, 2008 Share Posted December 30, 2008 AutoIt Forum LinkThis script allows you to select an area and returns all the pixels in the area, including the Total. Its old code so to get it to work u will need to replace "#include <GUIConstants.au3>" with "#include <WindowsConstants.au3>" There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now