![]() |
Microscopy Image Browser
1.233
|
IMCLIPBOARD Copy and paste images to and from system clipboard. More...
Functions | |
| function
varargout = | imclipboard (clipmode, varargin) |
| IMCLIPBOARD Copy and paste images to and from system clipboard. More... | |
| function data = | imclipboard>validateCopyInput (varargin) |
| function
filename = | imclipboard>validatePasteInput (varargin) |
IMCLIPBOARD Copy and paste images to and from system clipboard.
| function varargout = imclipboard | ( | clipmode, | |
| varargin | |||
| ) |
IMCLIPBOARD Copy and paste images to and from system clipboard.
IMCLIPBOARD(copy, IMDATA) sets the clipboard content to the image represented by IMDATA. IMDATA must be MxN grayscale (double, uint8, uint16), MxN black and white (logical), MxNx3 true color (double, uint8, uint16)
IMCLIPBOARD(copy, X, MAP) sets the clipboard content to the image data represented by indexed image X with colormap MAP. X must be MxN matrix (double, uint8, uint16) and MAP must be Px3 (double).
IMDATA = IMCLIPBOARD(paste) returns the current image content in the clipboard as a true color image (MxNx3 uint8).
[X, MAP] = IMCLIPBOARD(paste) returns the current image content in the clipboard as an indexed color image.
IMCLIPBOARD(paste) displays the image in a new figure window.
[...] = IMCLIPBOARD(paste, FILENAME) saves the image as FILENAME. FILENAME must be a name to one of the following image formats: JPG, GIF, BMP, PNG, TIF.
Note: IMCLIPBOARD requires Java on all platforms.
peppers.png); imclipboard(copy, im); paste into a paint program im2 = imclipboard(<tt>paste</tt>);
Referenced by menuFileImportImage(), and ibsnapshotGui>snapshotBtn_Callback().

| function data = imclipboard>validateCopyInput | ( | varargin | ) |
| function filename = imclipboard>validatePasteInput | ( | varargin | ) |