File: Export Image...
Export the active Image as file
cvExport type:=jpg name:=Image001 path:=D:\ImageFolder;
cvExport type:=tif dpi:=93 geotiff:=1 path:=D:\DataFile;
cvExport type:=avi name:=test_LT path:="C:\Users\user\Documents\OriginLab\User Files" fourcc:=WMV2;
Please refer to the page for additional option switches when accessing the x-function from script
Input
ImageLayer
The image to export. The default is the active image.
int
Specify the export type.
Option List:
Export all frames.
double
Frames per second. Only available when All Frames is specified.
Specify the DPI value.
Specify whether to export the image as grayscale GeoTIFF, when export tif file (type:=tif).
TreeNode
Specify the GeoTIFF image settings. When exporting the image as grayscale GeoTIFF file (geotiff:=1), you can specify GT Model, EPSG, Linear Units, Angular Units and Vertical Units. See Description, below for treenode details.
string
Specify file name of the exported image.
Specify the path of the exported image.
It is the width of the graph in pixels. This variable is read-only.
It is the height of the graph in pixels. This variable is read-only.
For scripting AVI output. Supply the FourCC code (example in Command Line Usage, above). A few FourCC codes can be found in the LabTalk Reference.
Note: The Codec node, visible in the dialog, will be hidden from LabTalk access. The fourcc node will be used in LabTalk and this is what is output when you Generate Script (from the Dialog Theme menu).
The cvExport function exports a image as an image file. Six export file types (BMP, GIF, JPG, PNG, TIF, AVI) are supported.
Details on Some Dialog Options
expImage
Keywords:export