screenShotRGB: Make a Screenshot using Robot Java Class

Version 1.0.0.0 (1,83 ko) par Enrique
Make a Screenshot using Robot Java Class.
854 téléchargements
Mise à jour 9 mai 2011

Afficher la licence

Creates an RGB color image with 'uint8' class elements read from the screen. You can define a rectangle to make the capture.
The function uses the Java class 'Robot' to do the screenshot.
For example, make a screenshot of the entire screen, plot and save it to a
file:
im = screenShotRGB; % make the screenshot
imwrite(im,'screenShot.png');
figure
image(im);
axis equal, axis tight
axis off

For more information about the Robot Java class see:
http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Robot.html#createScreenCapture%28java.awt.Rectangle%29

Citation pour cette source

Enrique (2026). screenShotRGB: Make a Screenshot using Robot Java Class (https://fr.mathworks.com/matlabcentral/fileexchange/31383-screenshotrgb-make-a-screenshot-using-robot-java-class), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur ROS Toolbox dans Help Center et MATLAB Answers
Remerciements

Inspiré par : screencapture

A inspiré : Multiple Monitors Screen Capture

Version Publié le Notes de version
1.0.0.0