screenShotRGB: Make a Screenshot using Robot Java Class

バージョン 1.0.0.0 (1.83 KB) 作成者: Enrique
Make a Screenshot using Robot Java Class.
ダウンロード: 849
更新 2011/5/9

ライセンスの表示

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

引用

Enrique (2024). screenShotRGB: Make a Screenshot using Robot Java Class (https://www.mathworks.com/matlabcentral/fileexchange/31383-screenshotrgb-make-a-screenshot-using-robot-java-class), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersROS Toolbox についてさらに検索
謝辞

ヒントを得たファイル: screencapture

ヒントを与えたファイル: Multiple Monitors Screen Capture

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0