tiffgt
display an image stored in a TIFF file (Silicon Graphics version)
- Provided by: libtiff-opengl (Version: 4.1.0+git191117-2ubuntu0.20.04.14)
- Source: tiff
- Report a bug
display an image stored in a TIFF file (Silicon Graphics version)
tiffgt [ options ] input.tif ...
tiffgt displays one or more images stored using the Tag Image File Format, Revision 6.0. Each image is placed in a fixed size window that the user must position on the display (unless configured otherwise through X defaults). If the display has fewer than 24 bitplanes, or if the image does not warrant full color, then RGB color values are mapped to the closest values that exist in the colormap (this is done using the rgbi routine found in the graphics utility library -lgutil.)
tiffgt correctly handles files with any of the following characteristics:
BitsPerSample 1, 2, 4, 8, 16 SamplesPerPixel 1, 3, 4 (the 4th sample is ignored) PhotometricInterpretation 0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr) PlanarConfiguration 1 (contiguous), 2 (separate) Orientation 1 (top-left), 4 (bottom-left)
Data may be organized as strips or tiles and may be compressed with any of the compression algorithms supported by the libtiff(3) library.
For palette images (PhotometricInterpretation=3), tiffgt inspects the colormap values and assumes either 16-bit or 8-bit values according to the maximum value. That is, if no colormap entry greater than 255 is found, tiffgt assumes the colormap has only 8-bit values; otherwise it assumes 16-bit values. This inspection is done to handle old images written by previous (incorrect) versions of libtiff.
tiffgt can be used to display multiple images one-at-a-time. The left mouse button switches the display to the first image in the next file in the list of files specified on the command line. The right mouse button switches to the first image in the previous file in the list. The middle mouse button causes the first image in the first file specified on the command line to be displayed. In addition the following keyboard commands are recognized:
Images wider and taller than the display are silently truncated to avoid crashing old versions of the window manager.
tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3TIFF)
Libtiff library home page: http://www.simplesystems.org/libtiff/