2 .\" Copyright (c) 1988-1997 Sam Leffler
3 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 .TH TIFFGT 1 "September 20, 2005" "libtiff"
27 tiffgt \- display an image stored in a
29 file (Silicon Graphics version)
38 displays one or more images stored using the
39 Tag Image File Format, Revision 6.0.
40 Each image is placed in a fixed size window that the
41 user must position on the display (unless configured
42 otherwise through X defaults).
43 If the display has fewer than 24 bitplanes, or if the
44 image does not warrant full color, then
46 color values are mapped to the closest values that exist in
47 the colormap (this is done using the
49 routine found in the graphics utility library
53 correctly handles files with any of the following characteristics:
56 .ta \w'\fIPhotometricInterpretation\fP 'u
58 \fIBitsPerSample\fP 1, 2, 4, 8, 16
59 \fISamplesPerPixel\fP 1, 3, 4 (the 4th sample is ignored)
60 \fIPhotometricInterpretation\fP 0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr)
61 \fIPlanarConfiguration\fP 1 (contiguous), 2 (separate)
62 \fIOrientation\fP 1 (top-left), 4 (bottom-left)
66 Data may be organized as strips or tiles and may be
67 compressed with any of the compression algorithms supported
72 For palette images (\c
73 .IR PhotometricInterpretation =3),
75 inspects the colormap values and assumes either 16-bit
76 or 8-bit values according to the maximum value.
77 That is, if no colormap entry greater than 255 is found,
79 assumes the colormap has only 8-bit values; otherwise
80 it assumes 16-bit values.
81 This inspection is done to handle old images written by
82 previous (incorrect) versions of
86 can be used to display multiple images one-at-a-time.
87 The left mouse button switches the display to the first image in the
89 file in the list of files specified on the command line.
90 The right mouse button switches to the first image in the
93 The middle mouse button causes the first image in the first file
94 specified on the command line to be displayed.
95 In addition the following keyboard commands are recognized:
99 .I PhotometricInterpretation
100 of MinIsBlack in displaying the current image.
105 of lsb-to-msb in decoding the current image.
110 of msb-to-lsb in decoding the current image.
113 Use a colormap visual to display the current image.
116 Use a true color (24-bit RGB) visual to display the current image.
120 .I PhotometricInterpretation
121 of MinIsWhite in displaying the current image.
124 Toggle (enable/disable) display of warning messages from the
126 library when decoding images.
129 Toggle (enable/disable) display of error messages from the
131 library when decoding images.
134 Reset all parameters to their default settings (\c
136 .IR PhotometricInterpretation ,
137 handling of warnings and errors).
140 Display the previous image in the current file or the last
141 image in the previous file.
144 Display the next image in the current file or the first image
148 Display the first image in the current file.
151 Display the last image in the current file (unimplemented).
155 Force image display in a colormap window.
158 Specify an image to display by directory number.
159 By default the first image in the file is displayed.
160 Directories are numbered starting at zero.
163 Enable reporting of error messages from the
168 silently ignores images that cannot be read.
173 to run as a foreground process.
176 will place itself in the background once it has opened the
177 requested image file.
180 Force the presumed bit ordering to be
186 Force the presumed bit ordering to be
192 Specify an image to display by directory offset.
193 By default the first image in the file is displayed.
194 Directories offsets may be specified using C-style syntax;
195 i.e. a leading ``0x'' for hexadecimal and a leading ``0'' for octal.
198 Override the value of the
199 .I PhotometricInterpretation
200 tag; the parameter may be one of:
212 Force image display in a full color window.
215 Stop on the first read error.
216 By default all errors in the input data are ignored and
218 does it's best to display as much of an image as possible.
221 Enable reporting of warning messages from the
226 ignores warning messages generated when reading an image.
229 Place information in the title bar describing
230 what type of window (full color or colormap) is being
231 used, the name of the input file, and the directory
232 index of the image (if non-zero).
233 By default, the window type is not shown in the title bar.
235 Images wider and taller than the display are silently truncated to avoid
236 crashing old versions of the window manager.
243 Libtiff library home page:
244 .BR http://www.remotesensing.org/libtiff/