2,787 questions
With GetDIBits or CreateDIBSection
For example, I had posted a sample with CreateDIBSection in this thread : Scanning of screen pixels works in debug mode but not in release mode
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a bitmap of the entire screen. I want to read all pixel values (rgb) of the bitmap.
Here is my code:
BITMAP bmp = GetScreenBitmap(); // somehow I got the bitmap
there is BITMAP::bmBits
but how can I use it?
With GetDIBits or CreateDIBSection
For example, I had posted a sample with CreateDIBSection in this thread : Scanning of screen pixels works in debug mode but not in release mode