summaryrefslogtreecommitdiff
path: root/doc/static/man/tiffgt.1.html
blob: e03b050a378423a41c9f3ff9d64c2945c8575917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Sat Jun  4 16:23:29 2022 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>TIFFGT</title>

</head>
<body>

<h1 align="center">TIFFGT</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">tiffgt &minus;
display an image stored in a <small>TIFF</small> file
(Silicon Graphics version)</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>tiffgt</b> [
<i>options</i> ] <i>input.tif ...</i></p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><i>tiffgt</i>
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 <small>RGB</small> color values are mapped
to the closest values that exist in the colormap (this is
done using the <i>rgbi</i> routine found in the graphics
utility library <b>&minus;lgutil</b>.)</p>

<p style="margin-left:11%; margin-top: 1em"><i>tiffgt</i>
correctly handles files with any of the following
characteristics:</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="18%"></td>
<td width="24%">


<p><i>BitsPerSample</i></p></td>
<td width="58%">


<p>1, 2, 4, 8, 16</p></td></tr>
<tr valign="top" align="left">
<td width="18%"></td>
<td width="24%">


<p><i>SamplesPerPixel</i></p></td>
<td width="58%">


<p>1, 3, 4 (the 4th sample is ignored)</p></td></tr>
<tr valign="top" align="left">
<td width="18%"></td>
<td width="24%">


<p><i>PhotometricInterpretation</i></p></td>
<td width="58%">


<p>0 (min-is-white), 1 (min-is-black), 2 (RGB), 3
(palette), 6 (YCbCr)</p></td></tr>
<tr valign="top" align="left">
<td width="18%"></td>
<td width="24%">


<p><i>PlanarConfiguration</i></p></td>
<td width="58%">


<p>1 (contiguous), 2 (separate)</p></td></tr>
<tr valign="top" align="left">
<td width="18%"></td>
<td width="24%">


<p><i>Orientation</i></p></td>
<td width="58%">


<p>1 (top-left), 4 (bottom-left)</p></td></tr>
</table>

<p style="margin-left:11%;">Data may be organized as strips
or tiles and may be compressed with any of the compression
algorithms supported by the <i>libtiff</i>(3) library.</p>

<p style="margin-left:11%; margin-top: 1em">For palette
images (<i>PhotometricInterpretation</i>=3), <i>tiffgt</i>
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, <i>tiffgt</i>
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
<i>libtiff</i>.</p>

<p style="margin-left:11%; margin-top: 1em"><i>tiffgt</i>
can be used to display multiple images one-at-a-time. The
left mouse button switches the display to the first image in
the <i>next</i> file in the list of files specified on the
command line. The right mouse button switches to the first
image in the <i>previous</i> 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:</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>b</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a <i>PhotometricInterpretation</i> of MinIsBlack in
displaying the current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>l</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a <i>FillOrder</i> of lsb-to-msb in decoding the
current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>m</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a <i>FillOrder</i> of msb-to-lsb in decoding the
current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>c</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a colormap visual to display the current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>r</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a true color (24-bit RGB) visual to display the
current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>w</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Use a <i>PhotometricInterpretation</i> of MinIsWhite in
displaying the current image.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>W</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Toggle (enable/disable) display of warning messages from
the <small>TIFF</small> library when decoding images.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>E</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Toggle (enable/disable) display of error messages from
the <small>TIFF</small> library when decoding images.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>z</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Reset all parameters to their default settings
(<i>FillOrder</i>, <i>PhotometricInterpretation</i>,
handling of warnings and errors).</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>PageUp</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>Display the previous image in the current file or the
last image in the previous file.</p></td></tr>
</table>

<p style="margin-left:11%;"><b>PageDown</b></p>

<p style="margin-left:22%;">Display the next image in the
current file or the first image in the next file.</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="6%">


<p><b>Home</b></p></td>
<td width="5%"></td>
<td width="78%">


<p>Display the first image in the current file.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="6%">


<p><b>End</b></p></td>
<td width="5%"></td>
<td width="78%">


<p>Display the last image in the current file
(unimplemented).</p> </td></tr>
</table>

<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p style="margin-top: 1em"><b>&minus;c</b></p></td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em">Force image display in a
colormap window.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;d</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Specify an image to display by directory number. By
default the first image in the file is displayed.
Directories are numbered starting at zero.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;e</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Enable reporting of error messages from the
<small>TIFF</small> library. By default <i>tiffgt</i>
silently ignores images that cannot be read.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;f</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Force <i>tiffgt</i> to run as a foreground process. By
default <i>tiffgt</i> will place itself in the background
once it has opened the requested image file.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;l</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Force the presumed bit ordering to be <small>LSB</small>
to <small>MSB.</small></p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;m</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Force the presumed bit ordering to be <small>MSB</small>
to <small>LSB.</small></p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;o</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Specify an image to display by directory offset. By
default the first image in the file is displayed.
Directories offsets may be specified using C-style syntax;
i.e. a leading &lsquo;&lsquo;0x&rsquo;&rsquo; for
hexadecimal and a leading &lsquo;&lsquo;0&rsquo;&rsquo; for
octal.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;p</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Override the value of the
<i>PhotometricInterpretation</i> tag; the parameter may be
one of: <b>miniswhite</b>, <b>minisblack</b>, <b>rgb</b>,
<b>palette</b>, <b>mask</b>, <b>separated</b>, <b>ycbcr</b>,
and <b>cielab</b>.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;r</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Force image display in a full color window.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;s</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Stop on the first read error. By default all errors in
the input data are ignored and <i>tiffgt</i> does it&rsquo;s
best to display as much of an image as possible.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;w</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Enable reporting of warning messages from the
<small>TIFF</small> library. By default <i>tiffgt</i>
ignores warning messages generated when reading an
image.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;v</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Place information in the title bar describing what type
of window (full color or colormap) is being used, the name
of the input file, and the directory index of the image (if
non-zero). By default, the window type is not shown in the
title bar.</p></td></tr>
</table>

<h2>BUGS
<a name="BUGS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Images wider
and taller than the display are silently truncated to avoid
crashing old versions of the window manager.</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>tiffdump</b>(1),
<b>tiffinfo</b>(1), <b>tiffcp</b>(1),
<b>libtiff</b>(3TIFF)</p>

<p style="margin-left:11%; margin-top: 1em">Libtiff library
home page: <b>http://www.simplesystems.org/libtiff/</b></p>
<hr>
</body>
</html>