1 .\" $Id: tiffgt.1,v 1.3 2005/11/02 11:07:19 dron Exp $
3 .\" Copyright (c) 1988-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
6 .\" Permission to use, copy, modify, distribute, and sell this software and
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26 .TH TIFFGT 1 "September 20, 2005" "libtiff"
28 tiffgt \- display an image stored in a
30 file (Silicon Graphics version)
39 displays one or more images stored using the
40 Tag Image File Format, Revision 6.0.
41 Each image is placed in a fixed size window that the
42 user must position on the display (unless configured
43 otherwise through X defaults).
44 If the display has fewer than 24 bitplanes, or if the
45 image does not warrant full color, then
47 color values are mapped to the closest values that exist in
48 the colormap (this is done using the
50 routine found in the graphics utility library
54 correctly handles files with any of the following characteristics:
57 .ta \w'\fIPhotometricInterpretation\fP 'u
59 BitsPerSample 1, 2, 4, 8, 16
60 SamplesPerPixel 1, 3, 4 (the 4th sample is ignored)
61 PhotometricInterpretation 0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr)
62 PlanarConfiguration 1 (contiguous), 2 (separate)
63 Orientation 1 (top-left), 4 (bottom-left)
67 Data may be organized as strips or tiles and may be
68 compressed with any of the compression algorithms supported
73 For palette images (\c
74 .IR PhotometricInterpretation =3),
76 inspects the colormap values and assumes either 16-bit
77 or 8-bit values according to the maximum value.
78 That is, if no colormap entry greater than 255 is found,
80 assumes the colormap has only 8-bit values; otherwise
81 it assumes 16-bit values.
82 This inspection is done to handle old images written by
83 previous (incorrect) versions of
87 can be used to display multiple images one-at-a-time.
88 The left mouse button switches the display to the first image in the
90 file in the list of files specified on the command line.
91 The right mouse button switches to the first image in the
94 The middle mouse button causes the first image in the first file
95 specified on the command line to be displayed.
96 In addition the following keyboard commands are recognized:
100 .I PhotometricInterpretation
101 of MinIsBlack in displaying the current image.
106 of lsb-to-msb in decoding the current image.
111 of msb-to-lsb in decoding the current image.
114 Use a colormap visual to display the current image.
117 Use a true color (24-bit RGB) visual to display the current image.
121 .I PhotometricInterpretation
122 of MinIsWhite in displaying the current image.
125 Toggle (enable/disable) display of warning messages from the
127 library when decoding images.
130 Toggle (enable/disable) display of error messages from the
132 library when decoding images.
135 Reset all parameters to their default settings (\c
137 .IR PhotometricInterpretation ,
138 handling of warnings and errors).
141 Display the previous image in the current file or the last
142 image in the previous file.
145 Display the next image in the current file or the first image
149 Display the first image in the current file.
152 Display the last image in the current file (unimplemented).
156 Force image display in a colormap window.
159 Specify an image to display by directory number.
160 By default the first image in the file is displayed.
161 Directories are numbered starting at zero.
164 Enable reporting of error messages from the
169 silently ignores images that cannot be read.
174 to run as a foreground process.
177 will place itself in the background once it has opened the
178 requested image file.
181 Force the presumed bit ordering to be
187 Force the presumed bit ordering to be
193 Specify an image to display by directory offset.
194 By default the first image in the file is displayed.
195 Directories offsets may be specified using C-style syntax;
196 i.e. a leading ``0x'' for hexadecimal and a leading ``0'' for octal.
199 Override the value of the
200 .I PhotometricInterpretation
201 tag; the parameter may be one of:
213 Force image display in a full color window.
216 Stop on the first read error.
217 By default all errors in the input data are ignored and
219 does it's best to display as much of an image as possible.
222 Enable reporting of warning messages from the
227 ignores warning messages generated when reading an image.
230 Place information in the title bar describing
231 what type of window (full color or colormap) is being
232 used, the name of the input file, and the directory
233 index of the image (if non-zero).
234 By default, the window type is not shown in the title bar.
236 Images wider and taller than the display are silently truncated to avoid
237 crashing old versions of the window manager.
244 Libtiff library home page:
245 .BR http://www.remotesensing.org/libtiff/