문제

I want to do a screenshot of a GUI window from C/C++ into the memory. It would be really nice if it's a two dimension array of RGB values or something similar.

Im at the moment searching for a Linux based solution, but would be nice if there is a platform independent solution.

도움이 되었습니까?

해결책

You could utilize xlib for Linux: How do take a screenshot correctly with xlib?

And GDI on Windows: MSDN - Capturing an Image

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top