Hi, I知 trying to get the colour of a pixel on the screen. I have tried using getpixel(), however when getting the colour of the whole screen, pixel by pixel, it takes a long time for what I want it for.
For this reason I tried to find an alternative, and found information about using GetDIBits(). I understand the general idea behind using it I think, but can稚 get it to work, since the limited programming I know is more mathematical and to do with modelling physics.
I知 programming in the windows console, if someone could link me to a good tutorial, or even better provide the code required to get a pixel colour on the screen using this method I would be much appreciated.