Jump to content
Sign in to follow this  
muzle6074

How can I check the color of a single pixel?

Recommended Posts

muzle6074

How can I check the color of a single pixel without performing a pixelsearch() over a whole area?

For example I want to know if the co-ord 100, 100 = FFFFFF. If it does I want to set a variable to true. How can I do this?

EDIT: Can this be done with PixelGetColor()?

- muzle6074

Edited by muzle6074

Share this post


Link to post
Share on other sites
rambo3889

yes with pixelgetcolor you can do it

$pixelcolor=PixelGetColor(100,100)
if   hex($pixelcolor,6) = "FFFFFF" then $variable = TRUE

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youÂ’re the best in town Fight!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.