Sign in to follow this  
Followers 0
muzle6074

How can I check the color of a single pixel?

3 posts in this topic

#1 ·  Posted (edited)

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



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

Thankyou rambo!

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