Hey everyone,
I am trying to get pixel data from my mouse location and then if the pixel value matches my
if statement it will trigger an event (in this case makes the ellipse red, woo hop!) this works BUT i was expecting a RGB value of either 0 (for the black areas) or 255 (for the white), instead i get -16777216 for black and -1 for white?
It is probably straight forward oversight on my part but whats confusing is according to the reference '
only RGB values are returned by this function.'
I hope someone would kindly shed some light on this for me.
Regards,
Oli
1