Standalones

imgconv


Converts and processes image files.

imgconv converts files between a wide variety of image file formats. It also provides a set of image processing tools such as blur, contrast, and zoom.

Each image converter and image processing tool is implemented as a dynamic shared object (DSO). To run imgconv, you must set the environment variable SI_IMAGE_PATH to point to the directory containing these DSOs. (By default, the DSOs are in softimage_installdir/3D/dso/sil.)

If SI_IMAGE_PATH is unset or empty, imgconv checks the environment variable SI_LOCATION. If it is set, imgconv looks in $SI_LOCATION/3D/dso/sil. Otherwise, imgconv looks in /usr/softimage/3D/dso/sil.

Usage

imgconv <input file> <output file>
[-height <height>]
[-width <width>]
[-reduction <colormap size>]
[-format <name>]
[-compression <none|rle|lzw|packbits>]
[-description <string>]
[-script <file name>]
[-processor <name> ["<arguments>"]]
[-verbose]
<input file> is the name of the file you want to convert or process. Use a dash () to read from the standard input.

imgconv automatically detects supported image file formats, so input files do not require an extension (such as .pic) to identify their format.

<output file> is the name of the output file. Use a dash (-) to write to the standard output.

To specify the format of the output file, you can either use an extension (such as .tif) or the -format option.

Options

-width
Specifies the width in pixels of output images. Used only for raw image formats with no image header.

-height
Specifies the height in pixels of output images. Used only for raw image formats with no image header.

-reduction
Specifies that output images must be colour-reduced using the given colour map size.

-format
Specifies the format to use for output images, or for input images having no signature.

The usage message for imgconv lists the supported formats.

-compression
Specifies the compression technique used for output images.

-description
Specifies the description string to use for output images.

-processor

Specifies a processor name to apply to output images. Processor arguments must be enclosed in quotes.

The usage message for imgconv lists the supported processors.

-script
Specifies a processor script file to apply to output images.

Each line of this file specifies a processor name and its arguments.

-verbose
Activates the verbose mode.

Notes

The supported image file formats and image processors depend on which DSOs are currently installed in softimage_installdir/3D/dso/sil.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker