tiffgt.1.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Sat Feb 24 18:37:20 2007 -->
  3. <html>
  4. <head>
  5. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  6. <meta name="Content-Style" content="text/css">
  7. <title>TIFFGT</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFGT</h1>
  11. <a href="#NAME">NAME</a><br>
  12. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  13. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  14. <a href="#OPTIONS">OPTIONS</a><br>
  15. <a href="#BUGS">BUGS</a><br>
  16. <a href="#SEE ALSO">SEE ALSO</a><br>
  17. <hr>
  18. <a name="NAME"></a>
  19. <h2>NAME</h2>
  20. <!-- INDENTATION -->
  21. <table width="100%" border=0 rules="none" frame="void"
  22. cols="2" cellspacing="0" cellpadding="0">
  23. <tr valign="top" align="left">
  24. <td width="8%"></td>
  25. <td width="91%">
  26. <p>tiffgt &minus; display an image stored in a
  27. <small>TIFF</small> file (Silicon Graphics version)</p>
  28. </td>
  29. </table>
  30. <a name="SYNOPSIS"></a>
  31. <h2>SYNOPSIS</h2>
  32. <!-- INDENTATION -->
  33. <table width="100%" border=0 rules="none" frame="void"
  34. cols="2" cellspacing="0" cellpadding="0">
  35. <tr valign="top" align="left">
  36. <td width="8%"></td>
  37. <td width="91%">
  38. <p><b>tiffgt</b> [ <i>options</i> ] <i>input.tif ...</i></p>
  39. </td>
  40. </table>
  41. <a name="DESCRIPTION"></a>
  42. <h2>DESCRIPTION</h2>
  43. <!-- INDENTATION -->
  44. <table width="100%" border=0 rules="none" frame="void"
  45. cols="2" cellspacing="0" cellpadding="0">
  46. <tr valign="top" align="left">
  47. <td width="8%"></td>
  48. <td width="91%">
  49. <p><i>tiffgt</i> displays one or more images stored using
  50. the Tag Image File Format, Revision 6.0. Each image is
  51. placed in a fixed size window that the user must position on
  52. the display (unless configured otherwise through X
  53. defaults). If the display has fewer than 24 bitplanes, or if
  54. the image does not warrant full color, then
  55. <small>RGB</small> color values are mapped to the closest
  56. values that exist in the colormap (this is done using the
  57. <i>rgbi</i> routine found in the graphics utility library
  58. <b>&minus;lgutil</b>.)</p>
  59. <!-- INDENTATION -->
  60. <p><i>tiffgt</i> correctly handles files with any of the
  61. following characteristics:</p></td>
  62. </table>
  63. <!-- TABS -->
  64. <table width="100%" border=0 rules="none" frame="void"
  65. cols="3" cellspacing="0" cellpadding="0">
  66. <tr valign="top" align="left">
  67. <td width="15%"></td>
  68. <td width="34%">
  69. <p><i>BitsPerSample</i></p>
  70. </td>
  71. <td width="50%">
  72. <p>1, 2, 4, 8, 16</p>
  73. </td>
  74. <tr valign="top" align="left">
  75. <td width="15%"></td>
  76. <td width="34%">
  77. <p><i>SamplesPerPixel</i></p>
  78. </td>
  79. <td width="50%">
  80. <p>1, 3, 4 (the 4th sample is ignored)</p>
  81. </td>
  82. <tr valign="top" align="left">
  83. <td width="15%"></td>
  84. <td width="34%">
  85. <p><i>PhotometricInterpretation</i></p>
  86. </td>
  87. <td width="50%">
  88. <p>0 (min-is-white), 1 (min-is-black), 2 (RGB), 3
  89. (palette), 6 (YCbCr)</p>
  90. </td>
  91. <tr valign="top" align="left">
  92. <td width="15%"></td>
  93. <td width="34%">
  94. <p><i>PlanarConfiguration</i></p>
  95. </td>
  96. <td width="50%">
  97. <p>1 (contiguous), 2 (separate)</p>
  98. </td>
  99. <tr valign="top" align="left">
  100. <td width="15%"></td>
  101. <td width="34%">
  102. <p><i>Orientation</i></p>
  103. </td>
  104. <td width="50%">
  105. <p>1 (top-left), 4 (bottom-left)</p>
  106. </td>
  107. </table>
  108. <!-- INDENTATION -->
  109. <table width="100%" border=0 rules="none" frame="void"
  110. cols="2" cellspacing="0" cellpadding="0">
  111. <tr valign="top" align="left">
  112. <td width="8%"></td>
  113. <td width="91%">
  114. <p>Data may be organized as strips or tiles and may be
  115. compressed with any of the compression algorithms supported
  116. by the <i>libtiff</i>(3) library.</p>
  117. <!-- INDENTATION -->
  118. <p>For palette images (<i>PhotometricInterpretation</i>=3),
  119. <i>tiffgt</i> inspects the colormap values and assumes
  120. either 16-bit or 8-bit values according to the maximum
  121. value. That is, if no colormap entry greater than 255 is
  122. found, <i>tiffgt</i> assumes the colormap has only 8-bit
  123. values; otherwise it assumes 16-bit values. This inspection
  124. is done to handle old images written by previous (incorrect)
  125. versions of <i>libtiff</i>.</p>
  126. <!-- INDENTATION -->
  127. <p><i>tiffgt</i> can be used to display multiple images
  128. one-at-a-time. The left mouse button switches the display to
  129. the first image in the <i>next</i> file in the list of files
  130. specified on the command line. The right mouse button
  131. switches to the first image in the <i>previous</i> file in
  132. the list. The middle mouse button causes the first image in
  133. the first file specified on the command line to be
  134. displayed. In addition the following keyboard commands are
  135. recognized:</p>
  136. </td>
  137. </table>
  138. <!-- TABS -->
  139. <table width="100%" border=0 rules="none" frame="void"
  140. cols="4" cellspacing="0" cellpadding="0">
  141. <tr valign="top" align="left">
  142. <td width="10%"></td>
  143. <td width="8%">
  144. <p><b>b</b></p>
  145. </td>
  146. <td width="80%">
  147. <p>Use a <i>PhotometricInterpretation</i> of MinIsBlack in
  148. displaying the current image.</p>
  149. </td>
  150. <td width="0%">
  151. </td>
  152. <tr valign="top" align="left">
  153. <td width="10%"></td>
  154. <td width="8%">
  155. <p><b>l</b></p>
  156. </td>
  157. <td width="80%">
  158. <p>Use a <i>FillOrder</i> of lsb-to-msb in decoding the
  159. current image.</p>
  160. </td>
  161. <td width="0%">
  162. </td>
  163. <tr valign="top" align="left">
  164. <td width="10%"></td>
  165. <td width="8%">
  166. <p><b>m</b></p>
  167. </td>
  168. <td width="80%">
  169. <p>Use a <i>FillOrder</i> of msb-to-lsb in decoding the
  170. current image.</p>
  171. </td>
  172. <td width="0%">
  173. </td>
  174. <tr valign="top" align="left">
  175. <td width="10%"></td>
  176. <td width="8%">
  177. <p><b>c</b></p>
  178. </td>
  179. <td width="80%">
  180. <p>Use a colormap visual to display the current image.</p>
  181. </td>
  182. <td width="0%">
  183. </td>
  184. <tr valign="top" align="left">
  185. <td width="10%"></td>
  186. <td width="8%">
  187. <p><b>r</b></p>
  188. </td>
  189. <td width="80%">
  190. <p>Use a true color (24-bit RGB) visual to display the
  191. current image.</p>
  192. </td>
  193. <td width="0%">
  194. </td>
  195. <tr valign="top" align="left">
  196. <td width="10%"></td>
  197. <td width="8%">
  198. <p><b>w</b></p>
  199. </td>
  200. <td width="80%">
  201. <p>Use a <i>PhotometricInterpretation</i> of MinIsWhite in
  202. displaying the current image.</p>
  203. </td>
  204. <td width="0%">
  205. </td>
  206. <tr valign="top" align="left">
  207. <td width="10%"></td>
  208. <td width="8%">
  209. <p><b>W</b></p>
  210. </td>
  211. <td width="80%">
  212. <p>Toggle (enable/disable) display of warning messages from
  213. the <small>TIFF</small> library when decoding images.</p>
  214. </td>
  215. <td width="0%">
  216. </td>
  217. <tr valign="top" align="left">
  218. <td width="10%"></td>
  219. <td width="8%">
  220. <p><b>E</b></p>
  221. </td>
  222. <td width="80%">
  223. <p>Toggle (enable/disable) display of error messages from
  224. the <small>TIFF</small> library when decoding images.</p>
  225. </td>
  226. <td width="0%">
  227. </td>
  228. <tr valign="top" align="left">
  229. <td width="10%"></td>
  230. <td width="8%">
  231. <p><b>z</b></p>
  232. </td>
  233. <td width="80%">
  234. <p>Reset all parameters to their default settings
  235. (<i>FillOrder</i>, <i>PhotometricInterpretation</i>,
  236. handling of warnings and errors).</p>
  237. </td>
  238. <td width="0%">
  239. </td>
  240. <tr valign="top" align="left">
  241. <td width="10%"></td>
  242. <td width="8%">
  243. <p><b>PageUp</b></p>
  244. </td>
  245. <td width="80%">
  246. <p>Display the previous image in the current file or the
  247. last image in the previous file.</p>
  248. </td>
  249. <td width="0%">
  250. </td>
  251. </table>
  252. <!-- INDENTATION -->
  253. <table width="100%" border=0 rules="none" frame="void"
  254. cols="2" cellspacing="0" cellpadding="0">
  255. <tr valign="top" align="left">
  256. <td width="8%"></td>
  257. <td width="91%">
  258. <p><b>PageDown</b></p></td>
  259. </table>
  260. <!-- INDENTATION -->
  261. <table width="100%" border=0 rules="none" frame="void"
  262. cols="2" cellspacing="0" cellpadding="0">
  263. <tr valign="top" align="left">
  264. <td width="19%"></td>
  265. <td width="80%">
  266. <p>Display the next image in the current file or the first
  267. image in the next file.</p>
  268. </td>
  269. </table>
  270. <!-- TABS -->
  271. <table width="100%" border=0 rules="none" frame="void"
  272. cols="5" cellspacing="0" cellpadding="0">
  273. <tr valign="top" align="left">
  274. <td width="10%"></td>
  275. <td width="6%">
  276. <p><b>Home</b></p>
  277. </td>
  278. <td width="2%"></td>
  279. <td width="80%">
  280. <p>Display the first image in the current file.</p>
  281. </td>
  282. <td width="0%">
  283. </td>
  284. <tr valign="top" align="left">
  285. <td width="10%"></td>
  286. <td width="6%">
  287. <p><b>End</b></p>
  288. </td>
  289. <td width="2%"></td>
  290. <td width="80%">
  291. <p>Display the last image in the current file
  292. (unimplemented).</p>
  293. </td>
  294. <td width="0%">
  295. </td>
  296. </table>
  297. <a name="OPTIONS"></a>
  298. <h2>OPTIONS</h2>
  299. <!-- TABS -->
  300. <table width="100%" border=0 rules="none" frame="void"
  301. cols="5" cellspacing="0" cellpadding="0">
  302. <tr valign="top" align="left">
  303. <td width="10%"></td>
  304. <td width="3%">
  305. <p><b>&minus;c</b></p>
  306. </td>
  307. <td width="5%"></td>
  308. <td width="80%">
  309. <p>Force image display in a colormap window.</p>
  310. </td>
  311. <td width="0%">
  312. </td>
  313. <tr valign="top" align="left">
  314. <td width="10%"></td>
  315. <td width="3%">
  316. <p><b>&minus;d</b></p>
  317. </td>
  318. <td width="5%"></td>
  319. <td width="80%">
  320. <p>Specify an image to display by directory number. By
  321. default the first image in the file is displayed.
  322. Directories are numbered starting at zero.</p>
  323. </td>
  324. <td width="0%">
  325. </td>
  326. <tr valign="top" align="left">
  327. <td width="10%"></td>
  328. <td width="3%">
  329. <p><b>&minus;e</b></p>
  330. </td>
  331. <td width="5%"></td>
  332. <td width="80%">
  333. <p>Enable reporting of error messages from the
  334. <small>TIFF</small> library. By default <i>tiffgt</i>
  335. silently ignores images that cannot be read.</p>
  336. </td>
  337. <td width="0%">
  338. </td>
  339. <tr valign="top" align="left">
  340. <td width="10%"></td>
  341. <td width="3%">
  342. <p><b>&minus;f</b></p>
  343. </td>
  344. <td width="5%"></td>
  345. <td width="80%">
  346. <p>Force <i>tiffgt</i> to run as a foreground process. By
  347. default <i>tiffgt</i> will place itself in the background
  348. once it has opened the requested image file.</p>
  349. </td>
  350. <td width="0%">
  351. </td>
  352. <tr valign="top" align="left">
  353. <td width="10%"></td>
  354. <td width="3%">
  355. <p><b>&minus;l</b></p>
  356. </td>
  357. <td width="5%"></td>
  358. <td width="80%">
  359. <p>Force the presumed bit ordering to be <small>LSB</small>
  360. to <small>MSB.</small></p>
  361. </td>
  362. <td width="0%">
  363. </td>
  364. <tr valign="top" align="left">
  365. <td width="10%"></td>
  366. <td width="3%">
  367. <p><b>&minus;m</b></p>
  368. </td>
  369. <td width="5%"></td>
  370. <td width="80%">
  371. <p>Force the presumed bit ordering to be <small>MSB</small>
  372. to <small>LSB.</small></p>
  373. </td>
  374. <td width="0%">
  375. </td>
  376. <tr valign="top" align="left">
  377. <td width="10%"></td>
  378. <td width="3%">
  379. <p><b>&minus;o</b></p>
  380. </td>
  381. <td width="5%"></td>
  382. <td width="80%">
  383. <p>Specify an image to display by directory offset. By
  384. default the first image in the file is displayed.
  385. Directories offsets may be specified using C-style syntax;
  386. i.e. a leading &lsquo;&lsquo;0x&rsquo;&rsquo; for
  387. hexadecimal and a leading &lsquo;&lsquo;0&rsquo;&rsquo; for
  388. octal.</p>
  389. </td>
  390. <td width="0%">
  391. </td>
  392. <tr valign="top" align="left">
  393. <td width="10%"></td>
  394. <td width="3%">
  395. <p><b>&minus;p</b></p>
  396. </td>
  397. <td width="5%"></td>
  398. <td width="80%">
  399. <p>Override the value of the
  400. <i>PhotometricInterpretation</i> tag; the parameter may be
  401. one of: <b>miniswhite</b>, <b>minisblack</b>, <b>rgb</b>,
  402. <b>palette</b>, <b>mask</b>, <b>separated</b>, <b>ycbcr</b>,
  403. and <b>cielab</b>.</p>
  404. </td>
  405. <td width="0%">
  406. </td>
  407. <tr valign="top" align="left">
  408. <td width="10%"></td>
  409. <td width="3%">
  410. <p><b>&minus;r</b></p>
  411. </td>
  412. <td width="5%"></td>
  413. <td width="80%">
  414. <p>Force image display in a full color window.</p>
  415. </td>
  416. <td width="0%">
  417. </td>
  418. <tr valign="top" align="left">
  419. <td width="10%"></td>
  420. <td width="3%">
  421. <p><b>&minus;s</b></p>
  422. </td>
  423. <td width="5%"></td>
  424. <td width="80%">
  425. <p>Stop on the first read error. By default all errors in
  426. the input data are ignored and <i>tiffgt</i> does it&rsquo;s
  427. best to display as much of an image as possible.</p>
  428. </td>
  429. <td width="0%">
  430. </td>
  431. <tr valign="top" align="left">
  432. <td width="10%"></td>
  433. <td width="3%">
  434. <p><b>&minus;w</b></p>
  435. </td>
  436. <td width="5%"></td>
  437. <td width="80%">
  438. <p>Enable reporting of warning messages from the
  439. <small>TIFF</small> library. By default <i>tiffgt</i>
  440. ignores warning messages generated when reading an
  441. image.</p>
  442. </td>
  443. <td width="0%">
  444. </td>
  445. <tr valign="top" align="left">
  446. <td width="10%"></td>
  447. <td width="3%">
  448. <p><b>&minus;v</b></p>
  449. </td>
  450. <td width="5%"></td>
  451. <td width="80%">
  452. <p>Place information in the title bar describing what type
  453. of window (full color or colormap) is being used, the name
  454. of the input file, and the directory index of the image (if
  455. non-zero). By default, the window type is not shown in the
  456. title bar.</p>
  457. </td>
  458. <td width="0%">
  459. </td>
  460. </table>
  461. <a name="BUGS"></a>
  462. <h2>BUGS</h2>
  463. <!-- INDENTATION -->
  464. <table width="100%" border=0 rules="none" frame="void"
  465. cols="2" cellspacing="0" cellpadding="0">
  466. <tr valign="top" align="left">
  467. <td width="8%"></td>
  468. <td width="91%">
  469. <p>Images wider and taller than the display are silently
  470. truncated to avoid crashing old versions of the window
  471. manager.</p>
  472. </td>
  473. </table>
  474. <a name="SEE ALSO"></a>
  475. <h2>SEE ALSO</h2>
  476. <!-- INDENTATION -->
  477. <table width="100%" border=0 rules="none" frame="void"
  478. cols="2" cellspacing="0" cellpadding="0">
  479. <tr valign="top" align="left">
  480. <td width="8%"></td>
  481. <td width="91%">
  482. <p><b>tiffdump</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1),
  483. <b>libtiff</b>(3TIFF)</p>
  484. <!-- INDENTATION -->
  485. <p>Libtiff library home page:
  486. <b>http://www.remotesensing.org/libtiff/</b></p>
  487. </td>
  488. </table>
  489. <hr>
  490. </body>
  491. </html>