I would like to get the color of a particular pixel in Python using its X Y coordinates, is this possible?
This is in Windows, if it makes a difference.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See http://rosettacode.org/wiki/Color_of_a_screen_pixel under the heading for python
they give:
which uses Python Extensions for Windows which is available for python 2.3 to 3.1 at http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/