Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.345.691 Times

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

  Date Added: March 27, 2013  |  Visits: 512

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

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



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)

Requirements: No special requirements
Platforms: Matlab
Keyword: Asked Default Figure Filename Function Handle Imwrite Interactively Order Output Parameter Place Position Returned Sspecified Toolbar Whichever
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


SCREENCAPTURE - GET A SCREEN-CAPTURE OF A FIGURE FRAME OR COMPONENT RELATED
Multimedia  -  tooltiptoggle 1.0
Function to toggle the display of tooltips within the given function handle.Uses get/set app data to:. save the state of 'toggle' in the figure handle and. save the tooltip string in the uicomponent
10 KB  
Development Tools  -  Improved WHOS function 1.0
WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and...
10 KB  
Development Tools  -  Temporary (or anonymous) function handles for ML 6
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create...
10 KB  
Multimedia  -  Half polar coordinates figure plot function halfPolar 1.0
HALFPOLAR function performs the polar plot in radian angle range [0 pi] using half polar coordinates HALFPOLAR(phi,gain) makes a plot with phi in radians angle range [0 pi] and gain in half polar coordinates. Phi and gain could be vector or...
10 KB  
Multimedia  -  Mouse scroll wheel navigation 1.0
Tired of clicking the task bar to find the figure window that you want? So was I, so I decided to use the mouse scroll wheel as a way to change the current figure.This function will update the figure WindowScrollWheelFcn so that the mouse scroll...
10 KB  
Development Tools  -  Direct Indexing of Function Calls (OOP Exercise) 1.0
IndexableFunction is a class of function-handle-like objects that allow a function to be called and post-indexed in a single expression. Often, in the MATLAB Central NG, I've seen people ask whether it is possible to call functions with a syntax...
10 KB  
Multimedia  -  Duplicate X-axes 1.0
The function duplicateX creates duplicate X-axes for a figure, the new axes relationship to the original axes is determined by input function.An auto update when zooming, for the duplicate axes, is allso available using version 7.5 (R2007B).The...
10 KB  
Multimedia  -  plot2mif 1.0
MATLAB to Framemaker MIF converterOnly 2D plots are currently supportedUsage: plot2mif(filename,graphic handle) optional optional Creates a Framemaker MIF file with the vector graphics contents of a MATLAB figure. The elements are hierarchically...
10 KB  
Education  -  Wave Function Plotter Model 1.0
The Ejs Wave Function Plotter model displays a one-dimensional wave function u(x,t) depicting a disturbance at position x and time t. The disturbance can be mass density, pressure, or electric field depending on the physical context. The default...
1.2 MB  
Development Tools  -  MYaxis 1.0
a function to define the coordination of your own subplot axesyou'd better estimate the input to assure not exceed the figure;this function is similar to the subplot(row,col,i)i is the ith...
10 KB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  isimSoftware CountDown Timer 1.0.2
isimSoftware CountDown Timer isimSoftware countdown timer for Windows, written for show operators by a show operator. Simple intuitive user interface with plenty of options hidden underneath. Displays time remaining, current time and a message...
421 KB  
Multimedia  -  Audio Reader XL 2020 20.0.1
Text to Speech Software Audio Reader XL reads aloud text easily. It’s text to speech software for reading eBooks, texts, web pages, and creating MP3s. The voice aloud reader read-aloud any kind of texts like - Any kind of texts - TXT text -...
73.26 MB  
Multimedia  -  Multi Level Meter Bridge 2020
With the new function Peak Detector you can control very accurate the Input of different Levels in a control rooms. Correlation Meter, In a logfile you are able to comprehend when and what kind of Level is under a threshold. PAS Multi Meter Bridge...
5.29 MB  
Multimedia  -  Spectrum Analyzer pro Live 2020
Spectrum Analyzer Pro Live turn your PC into a cutting-edge sound analysis tool! Dante WDM If you are a professional musician, acoustics expert or just a hi-fi enthusiast who wants to make sure that his audio system is perfectly tuned and plays...
12.86 MB  
Multimedia  -  Graphic Equalizer Studio 2020
you can run any windows sound application or DVD Player software above the Equalizer. The Equalizer will correct the audio stream automatic and will include the Limiter and the compressor to be sure, that the audio signal is not to loud or not to...
25.72 MB