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
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
|
<!-- Creator : groff version 1.18.1 -->
<!-- CreationDate: Mon Mar 13 18:03:13 2006 -->
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta name="Content-Style" content="text/css">
<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>
<a name="NAME"></a>
<h2>NAME</h2>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p>tiffgt − display an image stored in a
<small>TIFF</small> file (Silicon Graphics version)</p>
</td>
</table>
<a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p><b>tiffgt</b> [ <i>options</i> ] <i>input.tif ...</i></p>
</td>
</table>
<a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p><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>−lgutil</b>.)</p>
<!-- INDENTATION -->
<p><i>tiffgt</i> correctly handles files with any of the
following characteristics:</p></td>
</table>
<!-- TABS -->
<table width="100%" border=0 rules="none" frame="void"
cols="3" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="15%"></td>
<td width="34%">
<p>BitsPerSample</p>
</td>
<td width="50%">
<p>1, 2, 4, 8, 16</p>
</td>
<tr valign="top" align="left">
<td width="15%"></td>
<td width="34%">
<p>SamplesPerPixel</p>
</td>
<td width="50%">
<p>1, 3, 4 (the 4th sample is ignored)</p>
</td>
<tr valign="top" align="left">
<td width="15%"></td>
<td width="34%">
<p>PhotometricInterpretation</p>
</td>
<td width="50%">
<p>0 (min-is-white), 1 (min-is-black), 2 (RGB), 3
(palette), 6 (YCbCr)</p>
</td>
<tr valign="top" align="left">
<td width="15%"></td>
<td width="34%">
<p>PlanarConfiguration</p>
</td>
<td width="50%">
<p>1 (contiguous), 2 (separate)</p>
</td>
<tr valign="top" align="left">
<td width="15%"></td>
<td width="34%">
<p>Orientation</p>
</td>
<td width="50%">
<p>1 (top-left), 4 (bottom-left)</p>
</td>
</table>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p>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>
<!-- INDENTATION -->
<p>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>
<!-- INDENTATION -->
<p><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>
</td>
</table>
<!-- TABS -->
<table width="100%" border=0 rules="none" frame="void"
cols="4" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>b</b></p>
</td>
<td width="80%">
<p>Use a <i>PhotometricInterpretation</i> of MinIsBlack in
displaying the current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>l</b></p>
</td>
<td width="80%">
<p>Use a <i>FillOrder</i> of lsb-to-msb in decoding the
current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>m</b></p>
</td>
<td width="80%">
<p>Use a <i>FillOrder</i> of msb-to-lsb in decoding the
current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>c</b></p>
</td>
<td width="80%">
<p>Use a colormap visual to display the current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>r</b></p>
</td>
<td width="80%">
<p>Use a true color (24-bit RGB) visual to display the
current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>w</b></p>
</td>
<td width="80%">
<p>Use a <i>PhotometricInterpretation</i> of MinIsWhite in
displaying the current image.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>W</b></p>
</td>
<td width="80%">
<p>Toggle (enable/disable) display of warning messages from
the <small>TIFF</small> library when decoding images.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>E</b></p>
</td>
<td width="80%">
<p>Toggle (enable/disable) display of error messages from
the <small>TIFF</small> library when decoding images.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>z</b></p>
</td>
<td width="80%">
<p>Reset all parameters to their default settings
(<i>FillOrder</i>, <i>PhotometricInterpretation</i>,
handling of warnings and errors).</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="8%">
<p><b>PageUp</b></p>
</td>
<td width="80%">
<p>Display the previous image in the current file or the
last image in the previous file.</p>
</td>
<td width="0%">
</td>
</table>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p><b>PageDown</b></p></td>
</table>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="19%"></td>
<td width="80%">
<p>Display the next image in the current file or the first
image in the next file.</p>
</td>
</table>
<!-- TABS -->
<table width="100%" border=0 rules="none" frame="void"
cols="5" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="10%"></td>
<td width="6%">
<p><b>Home</b></p>
</td>
<td width="2%"></td>
<td width="80%">
<p>Display the first image in the current file.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="6%">
<p><b>End</b></p>
</td>
<td width="2%"></td>
<td width="80%">
<p>Display the last image in the current file
(unimplemented).</p>
</td>
<td width="0%">
</td>
</table>
<a name="OPTIONS"></a>
<h2>OPTIONS</h2>
<!-- TABS -->
<table width="100%" border=0 rules="none" frame="void"
cols="5" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−c</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Force image display in a colormap window.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−d</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−e</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−f</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−l</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Force the presumed bit ordering to be <small>LSB</small>
to <small>MSB.</small></p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−m</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Force the presumed bit ordering to be <small>MSB</small>
to <small>LSB.</small></p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−o</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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 ‘‘0x’’ for
hexadecimal and a leading ‘‘0’’ for
octal.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−p</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Override the value of the
<i>PhotometricInterpretation</i> tag; the parameter may be
one of: <i>miniswhite</i>, <i>minisblack</i>, <i>rgb</i>,
<i>palette</i>, <i>mask</i>, <i>separated</i>, <i>ycbcr</i>,
and <i>cielab</i>.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−r</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Force image display in a full color window.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−s</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<p>Stop on the first read error. By default all errors in
the input data are ignored and <i>tiffgt</i> does it’s
best to display as much of an image as possible.</p>
</td>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−w</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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>
<td width="0%">
</td>
<tr valign="top" align="left">
<td width="10%"></td>
<td width="3%">
<p><b>−v</b></p>
</td>
<td width="5%"></td>
<td width="80%">
<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>
<td width="0%">
</td>
</table>
<a name="BUGS"></a>
<h2>BUGS</h2>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p>Images wider and taller than the display are silently
truncated to avoid crashing old versions of the window
manager.</p>
</td>
</table>
<a name="SEE ALSO"></a>
<h2>SEE ALSO</h2>
<!-- INDENTATION -->
<table width="100%" border=0 rules="none" frame="void"
cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="8%"></td>
<td width="91%">
<p><b>tiffdump</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1),
<b>libtiff</b>(3TIFF)</p>
<!-- INDENTATION -->
<p>Libtiff library home page:
<b>http://www.remotesensing.org/libtiff/</b></p>
</td>
</table>
<hr>
</body>
</html>
|