Sign in to follow this  
Followers 0
ggirard

How can I check the color of a pixel ?

4 posts in this topic

Hi,

Everything is in the title :whistle:

I need to check the color of a pixel at a given location.

Is there a function to do that ?

Thank you

G.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

Everything is in the title :whistle:

I need to check the color of a pixel at a given location.

Is there a function to do that ?

Thank you

G.

Hm.. GET the COLOR of a PIXEL --> PixelGetColor()

Cheers

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Hi,

Everything is in the title :whistle:

I need to check the color of a pixel at a given location.

Is there a function to do that ?

Thank you

G.

Sure PixelGetColor(x,y) will do it, it returns the decimal value of the pixels color at the given x,y coordinate

Share this post


Link to post
Share on other sites

Hm.. GET the COLOR of a PIXEL --> PixelGetColor()

Cheers

Kurt

Ok my mistake :whistle:)

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