How to capture screen of an windows application using MATLAB?
Show older comments
I tried to use Java Toolkit as per few threads posted regarding screen capture. But it is capturing any application which is presently running on desktop. (Not as background application)
robo = java.awt.Robot;
t = java.awt.Toolkit.getDefaultToolkit();
rectangle = java.awt.Rectangle(t.getScreenSize());
image = robo.createScreenCapture(rectangle);
filehandle = java.io.File('screencapture.jpg');
javax.imageio.ImageIO.write(image,'jpg',filehandle);
imageview('screencapture.jpg');
I want to grab the screen of a Particular application (running in system, running in background) and record the screen using MATLAB. I.e. A video is running in media player (minimized) and I want to record the entire frame playing in media player at a certain instant.
Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!