Take screenshots inside fullscreen applications using java?

I use the standard method of taking screenshots using the Java Robot class, i.e.:

BufferedImage screencapture = robot.createScreenCapture(new Rectangle(tool.getScreenSize()));

This works fine fine, but it just takes a blank screen inside full-screen applications (I use Windows 7, so most of them use Direct X for full-screen viewing). Is this a known issue for the Robot class, or am I doing something wrong?

0
source share
1 answer

The Robot class cannot capture full-screen DirectX or OpenGL applications.

Google JavaCV. , Robot, JavaCV ( , OpenCV) . ( , )...

+1

All Articles