Predefined iTool File Writers

The iTool system distributed with IDL includes a number of predefined file writers. You can include these file writers in an iTool directly by registering the class with your iTool (as described in Registering a File Writer). You can also create a new file writer class based on one of the predefined classes.

IDLitWriteASCII

The iTools ASCII file writer uses the IDL PRINTF procedure to print strings to a file.

Registered Properties

STRING_SEPARATOR

A string that is used to separate the values stored in the ASCII file.

USE_DEFAULT_FORMAT

A boolean value that specifies whether a default format string should be used.

STRING_FORMAT

A string specifying the format string to be used when writing the data to the ASCII file. See Format Codes in Files and Input/Output (Application Programming) for a discussion of format codes.

Note
The format code should not include parentheses.

IDLitWriteBinary

The iTools Binary file writer uses the IDL WRITEU procedure to write unformatted binary data to a file.

Registered Properties

None

IDLitWriteBMP

The iTools BMP file writer uses the IDL WRITE_BMP procedure to write an image and its color table vectors to a Microsoft Windows Version 3 device independent bitmap file (.bmp).

Registered Properties

BIT_DEPTH

Bit depth at which to write the image.

IDLitWriteEMF

The iTools EMF file writer uses the iTools system clipboard to write an image and its color table vectors to a Microsoft Windows Enhanced Metafile (.emf).

Registered Properties

GRAPHICS_FORMAT

A integer that specifies whether graphics should be rendered using bitmap (0) or vector (1) output.

IDLitWriteEPS

The iTools EPS file writer uses the iTools system clipboard to write an image and its color table vectors to a Encapsulated PostScript (.eps) file.

Registered Properties

COLOR_MODEL

An integer that specifies whether graphics should be rendered using the RGB (0) or CMYK (1) PostScript Output Color Model.

GRAPHICS_FORMAT

An integer that specifies whether graphics should be rendered using bitmap (0) or vector (1) output.

IDLitWriteISV

The iTools ISV file writer saves the current iTool state, including data in the data manager, visualizations, annotations, and operation property settings to a file with the extension .isv. ISV files can be restored by launching an iTool and selecting the file using the File → Open menu item.

Registered Properties

None

IDLitWriteJPEG

The iTools JPEG file writer uses the IDL WRITE_JPEG procedure to write compressed images to files. JPEG (Joint Photographic Experts Group) is a standardized compression method for full-color and gray-scale images.

Registered Properties

GRAYSCALE

A boolean value that specifies whether the image should be written as TrueColor or Grayscale

QUALITY

An integer specifying the quality index, in the range of 0 (terrible) to 100 (excellent) for the JPEG file. The default value is 75, which corresponds to very good quality. Lower values of QUALITY produce higher compression ratios and smaller files.

IDLitWriteJPEG2000

The iTools JPEG2000 file writer uses the IDL WRITE_JPEG2000 procedure to write compressed images to files. JPEG 2000 is a wavelet-based compression method for full-color and gray-scale images.

Registered Properties

N_LAYERS

An integer specifying the number of quality layers to include.

N_LEVELS

An integer specifying the number of wavelet decomposition levels.

REVERSIBLE

A boolean value that specifies whether to use reversible (lossless) compression.

IDLitWritePICT

The iTools PICT file writer uses the IDL WRITE_PICT procedure to write an image and its color table vectors to a PICT (version 2) format image file. The PICT format is used by Apple Macintosh computers.

Registered Properties

None

IDLitWritePNG

The iTools PNG file writer uses the IDL WRITE_PNG procedure to write an image to a Portable Network Graphics (PNG) file. The data in the file is stored using lossless compression with either 8 or 16 data bits per channel, based on the input IDL variable type.

Registered Properties

BIT_DEPTH

Bit depth at which to write the image.

IDLitWriteTIFF

The iTools TIFF file writer uses the IDL WRITE_TIFF procedure to write TIFF files.

Registered Properties

BIT_DEPTH

Bit depth at which to write the image.

COMPRESSION

An integer specifying the type of compression to use.