ScreenCapture - screenshot of component, figure or screen
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Yair Altman (2024). ScreenCapture - screenshot of component, figure or screen (https://www.mathworks.com/matlabcentral/fileexchange/24323-screencapture-screenshot-of-component-figure-or-screen), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: IMCLIPBOARD, setFigTransparency - set figure transparency / fading
Inspired: jMouseEmu: Mouse Emulator (v2.3), Volumetric Data Explorer
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.20 | Fixed clipboard export to support transparent and gray-scale images |
|
|
1.19.0.1 | added copyright reference to imclipboard |
|
|
1.19.0.0 | Fixed clipboard capture on R2022a onward (reported by John Mullins) |
|
|
1.18.0.0 | Fixed Y coordinates of full-screen capture; avoid needless figure focus |
|
|
1.17.0.0 | Fix annoying warning about JavaFrame property becoming obsolete someday (yes, we know...) |
||
1.16.0.0 | Fix for deployes application suggested by David Bartholomew |
||
1.15.0.0 | Added the 'printer' target |
||
1.14.0.0 | Fix for saving GIF files |
||
1.13.0.0 | Fixes for R2014b |
||
1.12.0.0 | Fixed bug when capturing interactive selection; only enable image formats when saving to an unspecified file via uiputfile |
||
1.11.0.0 | Fixed bug in capture of non-square image; fixes for Win64 |
||
1.9.0.0 | (a more prominent acknowledgement of Jiro's imclipboard tool on the FEX page) - no changes to the actual files |
||
1.8.0.0 | FEX page credit to Jiro Doke's imclipboard utility |
||
1.7.0.0 | Fixed capture of Desktop (root); enabled rbbox anywhere on desktop (not necesarily in a Matlab figure); enabled output to clipboard (based on Jiro Doke's imclipboard utility); edge-case fixes; added Java compatibility check |
||
1.5.0.0 | Capture current object if w=h=0 (clicking a single point); extra input args sanity checks; fix for docked windows; include axes labels & ticks by default when capturing axes; use data-units position vector when capturing images; many edge-case fixes |
||
1.4.0.0 | another performance boost (thanks to Jan Simon); some compatibility fixes for Matlab 6.5 (untested) |
||
1.3.0.0 | updated attached screenshot with explanatory notes |
||
1.1.0.0 | Handle missing output format; performance boost (thanks to Urs); fix minor root-handle bug; added toolbar button option |
||
1.0.0.0 |