1

The Robot getPixelColor method always returns the color of chosen pixel from the desktop screen. I would like to get the color of the pixel that we see in real time.

Is that possible?

Imri Persiado
  • 1,857
  • 8
  • 29
  • 45
  • 3
    Possible duplicate? http://stackoverflow.com/questions/7168839/how-does-robots-getpixelcolorint-x-int-y-method-work – Cookster Jul 28 '15 at 21:46
  • Just to point this out, perception of color is relative. Color blindness, mutations, etc. – Daniel Jul 28 '15 at 21:52
  • Have a thread pool `Robot`...? – MadProgrammer Jul 28 '15 at 21:57
  • The computer doesn't know anything more than the color of the pixel. That's all it's doing. The color you see is the color your eye interperets, which you can't really get without either some sort of probe in your eye or a really really good model of your eye. Color of the pixel is the best you can do. – Anubian Noob Jul 28 '15 at 22:08

0 Answers0