How do I get the color of a pixel at X,Y using c#?
As for the result, I can convert the results to the color format I need. I am sure there is an API call for this.
For any given X,Y on the monitor, I want to get the color of that pixel.
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.
To get a pixel color from the Screen here’s code from Pinvoke.net: