0

I'm trying to get a 2D array of pixels from an area of the screen of my choice so I can use it in my program. In short, like taking a screenshot without exporting the data into an image. I would also like to find out do this in both a window and on the desktop. Any help would be appreciated. (I've created an example image to clarify my question. see picture below) enter image description here

RhinoPak
  • 21
  • 6
  • you're asking to be recommended libraries? that's called "screen capture" (or screenshot). plenty of answers for that already. – Christoph Rackwitz Mar 08 '22 at 15:25
  • 1
    see [How can I access a graphics card's output directly?](https://stackoverflow.com/a/38549548/2521214) and look the winapi approach ... You can grab either the delected window or entire desktop ... – Spektre Mar 09 '22 at 09:02
  • @Spektre Wow dude thanks! this really helps :D – RhinoPak Mar 09 '22 at 15:26

0 Answers0