Jump to content

How can I check the color of a single pixel?


Recommended Posts

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
Link to comment
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!
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...