Siflou 0 Posted October 9, 2011 Hey guys, I may be wrong, but I think that i miss something in PixelSearch. My problem is that I have a .jpeg and for example i want to search the color black. My problem is that i want to find for example my hair on the picture that are black, but the function will return a little pixel out of nowhere that is black, but my idea is, can i Get like the position like where theres a "chunk" of pixels that have the color that I'm searching for ? Well I'd be really happy if you guys can help me. Sincerely, Siflou Share this post Link to post Share on other sites
Siflou 0 Posted October 10, 2011 Also I'd like to know if theres a way that when PixelSearch set @error to 1, that you handle you errors so the script doesnt stop ? Someone please? Share this post Link to post Share on other sites
Phaser 0 Posted October 15, 2011 Hi This will search for black within a certain area 8,60,30,110 change these to suit your coordinates PixelSearch(8, 60, 30, 110, 0x000000,0,0, $hWnd) Hope that helps Share this post Link to post Share on other sites