I've put this in the general programming as I'm open to suggestions whether in C or python. I would prefer python as I understand it a lot more but maybe able to work with C if it isn't too complex.
So As I stated I want to pick a pixel at (X,Y) being displayed on screen (HDMI output).
is the Frame buffer the way to go ? Does the frame buffer contain whatever is currently being shown on the screen ? I ask as I found a bit of code in C that lists pixel data from the frame buffer but it seems to give me the same results no matter if the screen has a white back ground or a black one so I'm thinking there may be more to it...
Would any one have suggestions on the simplest way to do this ?
It seem fairly common to do this to the camera input (capture scan) or a jpeg but I can't find much about doing it to the screen.