Sign in to follow this  
Followers 0
makogen

Pixel Detection

2 posts in this topic

Hey,

Quick question, that might have a long complicated answer.

Is there anyway to accurately detect pixels with a semi transparent background?

I'm checking the status of a load bar that's within a window as a graphic type element. The problem with my pixel detection is that the loadbar is semi transparent and the background keeps moving so it throws off the pixelgetcolor().

I'm thinking a color range or maybe a hue range or something, any idea if there's a function that already does that or where I can look to get started?

Thanks :D

Share this post


Link to post
Share on other sites



PixelSearch() supports a 6th (optional) parameter that allows you to specify a shade-variation.

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  
Followers 0