This program takes image s in the new MIPS format and creates an image in either the RAW, BMP, GIF or TIFF formats.
In exporting a raw binary image file, one of three different interleaving formats can be used. The first format is band interleaving by file. This format is when multiple images can be written to the same file, but each image is written entirely before the next one. The second format is band interleaving by line. In this case, line 1 is written out to the output file for the first image, then every other image, and then line 2 and so on. Finally there is band interleaving by pixel . Files created with this format have sample 1 written out to the output file for the first image, then every other image, and then sample 2 and so on.
In exporting a Microsoft Window's Bitmap File Format(BMP) file, Export only supports the 8-bit and 24-bit uncompressed image formats in the new Windows format. If the MIPS image is a regular 8-bit greyscale, then the BMP image will be written in the 8-bit BMP format. Otherwise the red, green and blue components of a MIPS image(a color composite) will be written as a 24-bit BMP file.
In exporting a CompuServe's Graphics Interchange Format(GIF) file, Export only supports the GIF89a format. Although interleaving, multiple images, comment blocks and other extension blocks are part of this format, they are not currently handled by Export.
In exporting a Tagged Image File Format(TIFF) file, the only supported formats are the uncompressed and untiled grayscale, palette color and rgb color images. Both little and big endian formats are also handled but are decided by the system on which Export is on.
When exporting files containing single images using any of the BMP, GIF or TIFF formats, an additional parameter prompt will occur. This prompt will ask the user wether they want to use a special stretch associated with the input file or no stretch. The selected stretch will be written as the output files colormap.
Output Format Parameters
RAW, BMP, GIF or TIFF
These options are used to select the format in which to create the output file. There is no default.
RAW Files
This program requires as input one to seven unsigned 8-bit, or one to seven signed 16-bit or one to seven 32-bit floating point image files. The output image will be created as a raw binary image file. If the user does not specify an extension for the output file name, a ".raw" extension will be automatically concatenated onto file name.
RAW Format Parameters
The following parameters will only need to be specified when the RAW option was chosen and there were more than one input file.
BIF, BIL or BIP
These options are used to select the format in which to create a raw image. BIF, BIL and BIP stand for band interleaving by file, line and pixel, respectively. Band interleaving by file is the default option.
BMP and TIFF Files
This program requires as input one to three unsigned 8-bit image files. The output image will be created as either an image file in the BMP or TIFF image format depending on the format chosen. If the user does not specify an extension in the input file name, a ".bmp" or "tiff" extension will be concatenated onto the file name depending on the format chosen.
GIF Files
This program requires as input one unsigned 8-bit image file. The output image will be created as a GIF file. If the user does not specify an extension in the output file name, a ".gif" extension will be concatenated onto the file name.
Stretch Parameters
One of the following parameters will need to be selected if the input file has a stretch file and the BMP, GIF or TIFF format was selected.
STR1, STR2,...
These parameters are equal to the stretch values found in the stretch file and are used to create the colormap written out with the output file. STR1 will always default to no stretch meaning that 0;0, 1;1, 2;2 and so on. STR2 and any others that follow will represent the available stretches found in the input file's stretch file.