How can I get an RGBQUAD array of the pixels from a bitmap created from the screen(screenshot/printscreen).

Recommended Answers

All 2 Replies

Ok, I figured out how to use GetDIBits() to get my array.

Now I don't know the order of the colors or pixels. Is it B/G/R and pixels from start from the lower left corner to the top right or another order ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.