Jump to content
Sign in to follow this  
jsteng

need help with PixelSearch

Recommended Posts

jsteng

Im trying to do a pixelsearch for a particular pixel color.

However, depending on the browser or desktopsize, this pixel changes color ever so slightly:

ie, the red component changes by 15 shades, green component changes by 4 shades, and blue component stays the same.

If I were to do a Pixelsearch with tolerance set to 16, it will match a lot more pixels - and perhaps wrong pixels. Is there a built-in function or optimized 3rd party dll that I can specify the shade variance per color component?

Edited by jsteng

Share this post


Link to post
Share on other sites
Malkey

The _PixelSearchRGBShades() function's example from >here may help you.


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  

×