Imtools at NERSC
Table of Contents
- Description
-
Imtools is a collection of command-line utilities for manipulating
and format-converting raster image files.
- Features
-
Image display, crop, rotate, scale, gamma correction, color table
manipulation, format conversion, etc.
- Accessing Imtools
-
Imtools is installed on escher.nersc.gov, and is accessed using the
modules facility.
- Example Usage
- Documentation
-
We do not provide additional documentation for Imtools. Documentation
is available in the form of online man pages for each of the utilities.
- Additional Resources
-
Links to the additional imtools information.
Description
Imtools is a collection of command-line utilities for manipulating and
format-converting raster image files. The most recent version of Imtools,
v3.0,
is circa 1995; the project is no longer under active development, but
the technology will be included as part of the NPACI Scalable Visualization
effort. Source and binaries may be downloaded from the SDSC site; visit
the links in the Additional Resources section below.
Features
Imtools consist of the following:
- imadjust - adjusts pixel values in an image.
- imcat - Concatenates multiple image files into a single image fil.
- imcltroll - Roll color lookup table by a number of entrie.
- imcomp - composites two images togethe.
- imconv - Convert between image file formats.
(Use imconv as a one-step command-line format conversion
utility.)
- imcopy - Copy a portion of an image to a new file.
- imfile - Discerns the image format of a file or files.
- imfill - fills pixels in part or all of an image.
- imflip - Flip images vertically or horizontally and store in a new file.
- imformats - List information on image file formats.
- imgray - Convert an image to grayscale.
- imhist - compute a histogram of an image.
- immono - Convert an image to monochrome.
- impaste - Paste an image atop a background and store in a new file.
- imroll - Rolls images vertically and/or horizontally.
- imrotate - rotate an image.
- imscale - Scales an image up or down and saves it in a new file.
- imshear - shear an image.
- imsplit - Splits a multi-image file into separate files.
Accessing Imtools
On escher.nersc.gov, use the modules facility to access Imtools:
% module load imtools
Examples
Imconv performs one-step raster file format conversion, and also supports
a limited number of non-raster formats.
From the command line, you can explicitly
specify the image file type or imconv will attempt to automatically
deduce the file format type.
To convert a gif file to PostScript you could do any of
the following:
- imconv -gif infile -ps outfil
- imconv infile -ps outfile
- imconv infile outfile.ps
For a list of the file formats supported do man imconv or
imconv -fullhelp
Additional Resources