The LIVE_EXPORT routine allows the user to export a given visualization or window to an image file.
Set this keyword to have a dialog appear allowing the user to choose the image type and specifications.
Set this keyword to a two-element vector of the form [width, height] to specify the dimensions of the image in units specified by the UNITS keyword. The default is [640, 480] pixels.
Set this keyword to a named variable to contain the returned error message (string). An empty string is returned if no errors occurred during the operation. By default, errors are reported via a GUI.
Set this keyword equal to a string specifying the desired name of the image file. The default is
live_export.extension
, where extensions are:
.bmp, .gif, .jpg, .jpeg, .pic, .pict, .srf, .tif, .tiff, .xwd, and. vrml
.
Set this keyword to have the image written from top to bottom. Default is bottom to top.
Set this keyword to write the image as a series of scans of increasing quality. When used with a slow communications link, a decoder can generate a low-quality image very quickly, and then improve its quality as more scans are received.
This keyword specifies the quality index of JPEG images only: 0=Low, 1=Medium, 2=High (default). This keyword has no effect on non-JPEG images.
Set this keyword to a floating-point value specifying the device resolution in centimeters per pixel. The default is 72 DPI=2.54 (cm/in)/ 0.0352778 (cm/pixel).
Set this keyword equal to a string specifying the image type to write. Valid strings are: `BMP', `GIF', `JPG', `JPEG' (default), `PIC', `PICT', `SRF', `TIF', `TIFF', `XWD', and `VRML'.
Set this keyword to indicate the units of measure for the DIMENSIONS keyword. Valid values are 0=Device (default), 1=Inches, 2=Centimeters.
Set this keyword equal to the name (string, case-insensitive) of a LIVE tool or Insight visualization to export. The VISUALIZATION field from the REFERENCE_OUT keyword from the creation of the LIVE tool will provide the visualization name. Visualization names are also visible in Insight's Visualization Manager and visualization property dialogs. If VISUALIZATION_IN is not specified, the whole window or buffer (WINDOW_IN) will be exported.
Set this keyword equal to a name (string, case-sensitive) of a LIVE tool or Insight window, or a LIVE tool buffer, to export. The WINDOW tag of the REFERENCE_OUT structure from the creation of the LIVE tool will provide the window or buffer name. Window names are also visible in visualization window titlebars. If only one LIVE tool or Insight window (or buffer) is present in the IDL session, this keyword will default to it.