Save the Display
captureImage - Writes
panel display to a file
Usage: panel[0].captureImage(file, keywords)
file - name of file, file format determine by file
extension; valid options: .jpg, .gif, .png
Keywords:
height= |
height of image (default - see Remarks) |
width= |
width of image (default - see Remarks) |
quality= |
quality of jpg file (0.0 to 1.0); default=1.0; not used with other formats |
Remarks:
If captureImage is used to save a panel that was created
with openBundle, the sizes default to size of the display window when the bundle
was saved. If data was loaded using createLayer, the sizes default to those
defined in buildWindow.
Example:
panel[0].captureImage('C:\\Users\\myuser\\Image.png')
writeMovie - Writes
an image sequence to a movie file (ISL function)
Usage: writeMovie(file,keywords)
file - name of file, file format determine by file
extension; valid options: .gif, .mov
Keywords:
resize width= height= |
size of image (default = height of window) |
Example:
writeMovie('C:\\Users\\myuser\\movie.gif',params='resize width=600 height=800')