NOAA

Geophysical Fluid
Dynamics Laboratory

Skip to: [content] [navigation]
If you are using Navigator 4.x or Internet Explorer 4.x or Omni Web 4.x , this site will not render correctly!

Vis > image_printing > Image Programs

Image Programs

BIT

DESCRIPTION

BIT is a very comprehensive image editor based on SGI's GL graphics library.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

CLRpaint

DESCRIPTION

CLRpaint is a full-screen 24-bit paint program.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Compression Viewer

DESCRIPTION

Compression Viewer allows you to see how different levels of JPEG compression affect the quality and size of an image. It displays the original image size (raw data of 4 bytes/pixel) versus the JPEG compressed size and the compression ratio.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Desi

DESCRIPTION

Desi is a convenient program for compositing images and text onto a background. Showcase could have been used for this purpose, but it cannot export images. PowerPoint is recommended as an alternative since this is no longer supported.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Ghostview

DESCRIPTION

Ghostview is a basic PostScript viewer that is a front-end to the Ghostscript interpreter. It was developed years ago for multiple Unix systems and its age is obvious from the simple interface utilizing old-style X widgets. Despite the interface being somewhat dated, Ghostview is a fairly powerful program. It can cope with many types of PostScript files even those that do not strictly comply with the official Adobe PostScript standard. Ghostview provides controls over page selection, orientation, simple magnification, and has the ability to mark individual pages and save or print them rather than dealing with the entire document.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Gv

DESCRIPTION

Gv is a PostScript viewer that is a front-end to the Ghostscript interpreter. It is based on the older Ghostview and has a number of significant enhancements. It can cope with many types of PostScript files even those that do not strictly comply with the official Adobe PostScript standard. Like Ghostview, Gv provides controls over page selection, orientation, magnification, and has the ability to mark individual pages and save or print them rather than dealing with the entire document. Gv also provides antialiasing and a more intuitive zoom capability like MGv.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Icop (deprecated)

DESCRIPTION

Icop is a program for analyzing and correcting images for display on NTSC (or PAL) video. Computer systems can display a far greater range of colors than will fit into the video bandwidth. When transferring an image to video, colors outside of the "legal" range will have their values clipped. This may result in an undesirable looking picture displaying problems such as color bleeding.

Icop addresses these differences in the color spaces by reducing the luminance and saturation of an image so that all its pixels fall within the legal range for NTSC (or PAL) video. The example image above shows Icop in action. It can display the original image, all the legal pixels, all the illegal pixels, and the corrected version which can subsequently be saved. The graph in the Icop window shows a plot of luminance (vertical) versus saturation (horizontal) for all the pixel values in the image. The dark, triangular region on the left-side contains the legal values for video (NTSC in this case). Values below this region are over saturated and values below are undersaturated.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

It's not absolutely necessary to rework an image so as to eliminate ALL the offending colors/pixels - experience has shown that slight transgressions aren't that consequential.

DOCUMENTATION

ImageMagick

DESCRIPTION

ImageMagick is not a single program, but rather a collection of programs that perform a large variety of image processing functions. The tools in the package consist of the following:
  • animate - directly animates a sequence of images on the screen
  • combine - combine a series of images to create new images
  • convert - converts an image from one format to another with optional image processing
  • display - an interactive (GUI) image processor and viewer
  • identify - describes the format and characteristics of image files
  • import - saves any window or portion of the screen to an image file
  • mogrify - transforms a sequence of images with processing operations
  • montage - creates a composite image from a group of images

PLUSES

HOW TO INVOKE

HINTS

The format used for saving images is usually dependent on the file name's extension. A ".sgi" extension specifies the SGI RGB format, ".gif" is GIF89a, ".gif87" is GIF87a, etc.

DOCUMENTATION

Image Works

DESCRIPTION

Image Works is a fairly good image processing program that's part of SGI's ImageVision tool set. It provides transformation tools for cropping, adding a border, scaling, stretching, flipping, and rotating. There are color enhancement tools for blurring, sharpening, adjusting the brightness, contrast, color balance, color saturation and equalization. There are several tools for effects such as image negation, conversion to grayscale, thresholding, color reduction, and edge detection. Finally, miscellaneous capabilities include a color histogram, adjustable zoom, and multiple levels of undo.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

ImgSnap

DESCRIPTION

ImgSnap is part of SGI's ImageVision tool set and is used for saving rectangular areas anywhere on the screen as images. In order to save a portion of the screen, just click on "Selected Area" then use "Grab Selection Focus" to drag out a rectangle with the left mouse button over the desired area. If the rectangle is very large and ImgSnap's window blocks some of it, then click on "Vanish While Saving" so that the window temporarily disappears during the saving. This might be necessary since ImgSnap saves exactly what you see on the screen regardless of the window stacking order.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

Since ImgSnap doesn't use any compression when saving images, they tend to get rather large. Therefore, it's a good idea to resave them with another program (such as rle) that always uses compression.

DOCUMENTATION

ImgView

DESCRIPTION

ImgView is part of SGI's ImageVision tool set and is used to quickly view one or more images (SGI RGB, GIF, JPEG, TIFF, and PhotoCD formats).

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

MGv

DESCRIPTION

MGv is a PostScript viewer that relies on the Ghostscript interpreter as does Ghostview and Gv, but has a few additional features. The most obvious difference is the more modern interface utilizing SGI-enhanced Motif widgets.

Functionally, MGv has a few significant advantages over Ghostview and Xpsview. First, is its ability to antialias entire pages before displaying them. Antialiasing can greatly improve the readability of PostScript text on the screen (especially small text) eliminating the often blocky and "broken" appearance. However, antialiasing is not very good for pages with images, which can significantly increase the rendering time and can even make them look worse in some cases (results will vary). Second, MGv has a more intuitive approach to zooming into a page. To magnify a particular area into a separate window, just click with the left mouse button, drag out a rectangle, release the button, and select a magnification factor from the pop-up menu. The entire page can also be magnified into the main window with the step button at the bottom. Third, only MGv has the ability to use a private colormap for its windows so that colors are not allocated from the root window's colormap. This gives it more colors to work with resulting in a much better rendering with less dithering and more colors available for other applications that do not make their own colormaps. Fourth, MGv can read compressed files (*.gz, *.Z, etc.) by uncompressing them to a temporary directory.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

DOCUMENTATION

Xpaint

DESCRIPTION

Xpaint is an excellent paint program with some image processing features.

PLUSES

HOW TO INVOKE

HINTS

It's a good idea to always run Xpaint in 24-bit mode to preserve color accuracy. Also, Xpaint will always print a warning message if the root window is 8-bit (which it usually is by default) regardless of whether the program is instructed to run in 8-bit or 24-bit mode. This specified mode is only used for the canvas (image) windows. The main control window is always 8-bit and it takes a few colors from the root window's colormap for its icons. If there are not enough free colors in that colormap then Xpaint will abort with an error message.

DOCUMENTATION

Xpsview

DESCRIPTION

Xpsview is a PostScript file viewer from Adobe that is bundled with the SGI's IRIX. Unlike Ghostview, Gv, and MGv, it does not use the Ghostscript interpreter, but rather the Display PostScript extension in the X server. Xpsview can cope with some non-standard PostScript files, however, mileage will vary. Experience has shown that there are some PostScript files that display fine in Xpsview while not in Ghostview, Gv, nor MGv and vice versa. Xpsview provides controls over page selection, orientation, and simple magnification.

PLUSES

MINUSES

HOW TO INVOKE

HINTS

Try MGv instead for a better interface and additional features.

DOCUMENTATION

XV

DESCRIPTION

XV is a very flexible general-purpose image viewing and processing program. It can read and write many image formats (although not as many as ImageMagick) including GIF, JPEG, TIFF, PNG, PostScript, PBM/PGM/PPM, XBM, BMP, RAS, SGI RGB, TGA, FITS, and PM. XV scales images larger than the screen (1280x1024 on the SGI) so that they will fit on the screen before viewing. This has the advantage of being able to see all of a large image at once, but the disadvantage is also not being able to see all of the detail (try ImageMagick's display instead for that purpose).

PLUSES

MINUSES

HOW TO INVOKE

HINTS

When saving an image as a GIF file, XV will usually use the GIF87a format. In some situations, XV may use the GIF89a format instead in order to try to preserve certain image attributes (such as comment blocks) since it is a more flexible format than the older GIF87a. Some programs are not able to deal with GIF89a input files such as GIFMerge and WhirlGIF. In order to force an GIF87a to be written use ImageMagick's display program and save with the ".gif87" file extension.

DOCUMENTATION

Command-Line Image Programs

giftrans

DESCRIPTION

giftrans is a utility whose primary purpose is to flag a color in a GIF image as being "transparent". This transparent color will only be obvious and useful with a program such as Netscape which specifically checks for transparent colors (when putting in-line images on WWW pages). A GIF image created with giftrans will look exactly the same as the original using any regular image viewer.

HOW TO INVOKE

Here is an example of a GIF image before and after using giftrans.
  • giftrans -t #000000 NOAA_logo_small_orig.gif > NOAA_logo_small.gif
The entry after "-t" is the RGB color specification in hexadecimal. The color to be transparent can also be specified as an index (0-255) or as a color name (i.e. "black") defined in "/usr/lib/X11/rgb.txt".

DOCUMENTATION

imginfo

DESCRIPTION

imginfo is part of SGI's ImageVision tool set and is used to quickly get information about one or more images (SGI RGB, GIFF, JPEG, TIFF, and PhotoCD formats). It prints an image's dimensions, color model, file format, and data compression, among other things.

PLUSES

HOW TO INVOKE

HINTS

imginfo is especially useful to check if an image is stored with compression; although, it is sometimes obvious from the file's size. See rle below.

DOCUMENTATION

rgblegal

DESCRIPTION

rgblegal adjusts the colors of an SGI RGB image for better display on video. It is basically a command-line version of Icop. In addition to adjusting for NTSC/PAL video, rgblegal can also globally reduce an image's saturation. Normally it outputs the corrected image, but it can also output an image showing only the legal/illegal pixels for a video mode with all the rest set to black.

MINUSES

HOW TO INVOKE

DOCUMENTATION

rle

DESCRIPTION

rle saves an existing SGI RGB image with RLE (Run-Length Encoding) compression. For some reason the ImageWorks, ImgSnap, and ImgView programs do not use any compression when saving images in the SGI RGB format. Based on their composition, RLE compression can reduce image file sizes by several times so it is definitely preferable over the verbatim format that those three programs produce.

PLUSES

MINUSES

HOW TO INVOKE

DOCUMENTATION

Lasted modified: Tuesday, 09-Jan-01 15:27:02 EST

smaller bigger reset
last modified: June 27 2005.