Scripts Index
Related Topics
Popular Trends
Trending Topics
Tools and Utilities Multimedia  

ScreenCapture - get a screen-capture of a figure frame or component

download download home home   report broken
important script information
company name:
Yair Altman
license: Shareware
minimum requirements: MATLAB 7.5 (R2007b)
functional limitations:
ScreenCapture - get a screen-capture of a figure frame or component description


ScreenCapture gets a screen-capture of any Matlab GUI handle (including desktop, figure, axes or uicontrol), or a specified area rectangle located relative to the specified handle. Screen area capture is possible by specifying the root (desktop) handle (=0). The output can be either to an image file or to a Matlab matrix (useful for displaying via imshow() or for further processing). This utility also enables adding a toolbar button for easy interactive screen-capture.Syntax: imageData = screencapture(handle, position, filename, 'PropName',PropValue, ...) Input Parameters: handle - optional handle to be used for screen-capture origin. If empty/unsupplied then current figure (gcf) will be used. position - optional position array in pixels: [x,y,width,height]. If empty/unsupplied then the handle's position vector will be used. If both handle and position are empty/unsupplied then the position will be retrieved via interactive mouse-selection. filename - optional filename for storing the screen-capture. If empty/unsupplied then no output to file will be done. The file format will be determined from the filename (JPG/PNG/...). Supported formats are those supported by the imwrite function. If neither filename nor imageData were specified, the user will be asked to interactively specify the output filename. 'PropName',PropValue - optional list of property pairs e.g., screencapture('filename','sc.png','pos',[10,20,30,40],'handle',gca) PropNames may be abbreviated and are case-insensitive. PropNames may also be given in whichever order. Supported PropNames are: - 'handle' (default: gcf handle) - 'position' (default: gcf position array) - 'filename' (default: '') - 'toolbar' (figure handle; default: gcf) this adds a screen-capture button to the figure's toolbar If this parameter is sspecified, then no screen-capture will take place and the returned imageData will be [].Output parameters: imageData - image data in a format acceptable by the imshow function. If neither filename nor imageData were specified, the user will be asked to interactively specify the output filename. Examples: imageData = screencapture; % interactively select screen-capture rectangle imageData = screencapture(hListbox); % capture image of a uicontrol imageData = screencapture(0, [20,30,40,50]); % select a small desktop region imageData = screencapture(gcf,[20,30,40,50]); % select a small figure region imageData = screencapture(gca,[10,20,30,40]); % select a small axes region imshow(imageData); % display the captured image in a matlab figure imwrite(imageData,'myImage.png'); % save the captured image to file screencapture(gcf,[],'myFigure.jpg'); % capture the entire figure into file screencapture('handle',gcf,'filename','myFigure.jpg'); % same as previous screencapture('toolbar',gcf); % adds a screen-capture button to gcf's toolbar screencapture('toolbar',[],'file','sc.bmp'); % same with default output filename Bugs and suggestions: Please send to Yair Altman (altmany at gmail dot com)



Relates:
Handle - Output - Toolbar - Order - Function - Asked - Filename - Default - Position - Place - Parameter - Figure - Returned - Whichever - Interactively - Imwrite - Sspecified
Similar scripts
Media Get (Popularity: ) : MediaGet is software which offers all the users to download any kind of media files from the internet. Downloading more number of files can be done very easily by using a download manager. The download manager will be very easy ...
Open Video Converter (Popularity: ) : Open Video Converter is an easy-to-use video converter for video conversion, splitting and editing. It can convert many video formats such as MPG, AVI, ASF, WMV to AVI file. It can change the frame size, frame rate, video compression codec ...
90z mp3 player (Popularity: ) : 90Z MP3 PLAYER - A New Concept of MP3 and Digital Music! 90Z MP3 PLAYER is a simple MP3 tool software. It provides beautiful interface for the user. Based on our advanced technologies. In 90Z MP3 PLAYER , you will ...
TSVideo (Popularity: ) : TSVideo is a Flash based video player. This technology makes TSVideo a multi-platform video player, supported by the large majority of web browsers.Features - Large selection of controls. - The visual appearance of the TSVideo player is highly customizable. - ...
Audio/Video To Wav Converter (Popularity: ) : Audio/Video To Wav Converter is an easy-to-use tool for converting almost all kinds of audio and video files to a wav file. With the build-in multimedia player, you can preview the media file, set start time and end time, convert ...
WinAVI Video Converter (Popularity: ) : This is an effective video converter application which supports several video format files such as quicktime MOV, flash SWF, XVid, ASF, RM, VCD, SVCD, DVD etc., This application has a powerful real dolby AC3 audio encoder and real DVD navigator ...
Audio Converter & Mixer (Popularity: ) : Audio Converter & Mixer is an easy-to-use tool for converting and mixing all kinds of sound files into one large wav file. Audio Converter & Mixer can configure the volume, start time and playback speed of each sound track. Audio ...
Video to Audio Converter (Popularity: ) : Video to Audio Converter as the name indicates is a powerful converting tool. You can save extracted audio files into either a seperate MP3 or on a WAV file with CD quality conversions. This tool can also be used to ...
OSS Video Converter (Popularity: ) : Convert AVI, ASF, WMV & MPEG Video files. Powerful Video Converter. A Converter that converts MPEG-1, MPEG-2, AVI (Windows Video), WMV (Windows Media Video) and ASF to AVI and WMV and much more. You can apply a variety of effects ...
CD Label Designer (Popularity: ) : CD Label Designer is an useful CD utility tool designed as a perfect CD labeling software. Using this tool you will be able to design front, back, inside and round disk labels using WYSIWYG editors with unlimited layouts and brands. ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Smart Screen Capture (Popularity: ) : Smart Screen Capture is an easy-to-use video recording tool. With this tool you can record the screen as high quality videos with audio, set video quality and choose audio device by your request, record fullscreen, record selected screen region to ...
Screen Capture Lite (Popularity: ) : Screen Capture is a professional capture tool, with it you can record the screen video and accompanied by your voice. So, you can use it to make video demo or video guideline. <br /><br />Features:<br />1. Full-screen recording<br />2. Fixed ...
Smart Screen Capture Lite (Popularity: ) : Smart Screen Capture is an easy-to-use video recording tool. With this tool you can record the screen as high quality videos with audio, set video quality and choose audio device by your request, record fullscreen, record selected screen region to ...
Quick Screen Capture (Popularity: ) : Quick Screen Capture is a screen capture and image editing tool that can capture any part of your screen. You can make professional screen shots and save them as bmp, png, pcx,tif,gif or jpg files. Amor Screen Capture can capture ...
Easy Screen Capture (Popularity: ) : Easy Screen Capture and Annotation lets you capture and annotate any part of the screen. The main goal of the product is to speed up the capture and editing process saving you valuable time by automating repetitive tasks. Selecting a ...
Onde Screen Capture for Mac (Popularity: ) : Onde Screen Capture for Mac is a simple but powerful screen grab utility on Mac OS, by which you can easily capture freehand region, rectangular or ellipse region, full screen, active window or all windows, etc. Screen magnifier, timer screen, ...
Super Screen Capture (Popularity: ) : Super Screen Capture is a screen capture, screen record and audio record software. You can capture screen to image, recording screen to video, record audio from microphone. You can edit captured images and saved to jpg/png/bmp file. Add text annotation, ...
Ondesoft Screen Capture for Mac (Popularity: ) : Ondesoft Screen Capture for Mac is a simple but powerful screen grab utility on Mac OS, by which you can easily capture freehand region, rectangular or ellipse region, full screen, active/all window or scrollingl window, etc. Screen magnifier, timer screen, ...
FoxArc Screen Capture (Popularity: ) : FoxArc Screen Capture is a lightweight and easy-to-use screen capture program for taking screenshots. you can capture anything on the screen including rectangular/ellipse regions, windows, objects, full screen. FoxArc Screen Capture saves picture files in JPG, BMP, PCX, PNG, PNM ...
DuckLink Screen Capture (Popularity: ) : DuckLink Screen Capture (AKA: DuckCapture) comes with four capture modes that make screen capture easy! Capture a window on your screen, region of your screen, or the contents of a tall web page that scrolls. DonOCOt waste time cropping your ...
ad


Rate me
supported os
Linux
Mac OSX
Macintosh
Win All, BSD, Solaris
stats
downloads 4
version 1.0
size in Kb 10
popularity   
1073/376713
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews