ppm2tiff.1.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Sat Feb 24 18:37:19 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>PPM2TIFF</title>
  8. </head>
  9. <body>
  10. <h1 align=center>PPM2TIFF</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="#SEE ALSO">SEE ALSO</a><br>
  16. <hr>
  17. <a name="NAME"></a>
  18. <h2>NAME</h2>
  19. <!-- INDENTATION -->
  20. <table width="100%" border=0 rules="none" frame="void"
  21. cols="2" cellspacing="0" cellpadding="0">
  22. <tr valign="top" align="left">
  23. <td width="8%"></td>
  24. <td width="91%">
  25. <p>ppm2tiff &minus; create a <small>TIFF</small> file from
  26. <small>PPM, PGM</small> and <small>PBM</small> image
  27. files</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>ppm2tiff</b> [ <i>options</i> ] [ <i>input.ppm</i> ]
  39. <i>output.tif</i></p>
  40. </td>
  41. </table>
  42. <a name="DESCRIPTION"></a>
  43. <h2>DESCRIPTION</h2>
  44. <!-- INDENTATION -->
  45. <table width="100%" border=0 rules="none" frame="void"
  46. cols="2" cellspacing="0" cellpadding="0">
  47. <tr valign="top" align="left">
  48. <td width="8%"></td>
  49. <td width="91%">
  50. <p><i>ppm2tiff</i> converts a file in the <small>PPM,
  51. PGM</small> and <small>PBM</small> image formats to
  52. <small>TIFF.</small> By default, the <small>TIFF</small>
  53. image is created with data samples packed
  54. (<i>PlanarConfiguration</i>=1), compressed with the Packbits
  55. algorithm (<i>Compression</i>=32773), and with each strip no
  56. more than 8 kilobytes. These characteristics can be
  57. overridden, or explicitly specified with the options
  58. described below</p>
  59. <!-- INDENTATION -->
  60. <p>If the <small>PPM</small> file contains greyscale data,
  61. then the <i>PhotometricInterpretation</i> tag is set to 1
  62. (min-is-black), otherwise it is set to 2 (RGB).</p>
  63. <!-- INDENTATION -->
  64. <p>If no <small>PPM</small> file is specified on the command
  65. line, <i>ppm2tiff</i> will read from the standard input.</p>
  66. </td>
  67. </table>
  68. <a name="OPTIONS"></a>
  69. <h2>OPTIONS</h2>
  70. <!-- TABS -->
  71. <table width="100%" border=0 rules="none" frame="void"
  72. cols="5" cellspacing="0" cellpadding="0">
  73. <tr valign="top" align="left">
  74. <td width="10%"></td>
  75. <td width="3%">
  76. <p><b>&minus;c</b></p>
  77. </td>
  78. <td width="5%"></td>
  79. <td width="80%">
  80. <p>Specify a compression scheme to use when writing image
  81. data: <b>none</b> for no compression, <b>packbits</b> for
  82. PackBits compression (will be used by default), <b>lzw</b>
  83. for Lempel-Ziv &amp; Welch compression, <b>jpeg</b> for
  84. baseline JPEG compression, <b>zip</b> for Deflate
  85. compression, <b>g3</b> for CCITT Group 3 (T.4) compression,
  86. and <b>g4</b> for CCITT Group 4 (T.6) compression.</p>
  87. </td>
  88. <td width="0%">
  89. </td>
  90. <tr valign="top" align="left">
  91. <td width="10%"></td>
  92. <td width="3%">
  93. <p><b>&minus;r</b></p>
  94. </td>
  95. <td width="5%"></td>
  96. <td width="80%">
  97. <p>Write data with a specified number of rows per strip; by
  98. default the number of rows/strip is selected so that each
  99. strip is approximately 8 kilobytes.</p>
  100. </td>
  101. <td width="0%">
  102. </td>
  103. <tr valign="top" align="left">
  104. <td width="10%"></td>
  105. <td width="3%">
  106. <p><b>&minus;R</b></p>
  107. </td>
  108. <td width="5%"></td>
  109. <td width="80%">
  110. <p>Mark the resultant image to have the specified X and Y
  111. resolution (in dots/inch).</p>
  112. </td>
  113. <td width="0%">
  114. </td>
  115. </table>
  116. <a name="SEE ALSO"></a>
  117. <h2>SEE ALSO</h2>
  118. <!-- INDENTATION -->
  119. <table width="100%" border=0 rules="none" frame="void"
  120. cols="2" cellspacing="0" cellpadding="0">
  121. <tr valign="top" align="left">
  122. <td width="8%"></td>
  123. <td width="91%">
  124. <p><b>tiffinfo</b>(1), <b>tiffcp</b>(1),
  125. <b>tiffmedian</b>(1), <b>libtiff</b>(3)</p>
  126. <!-- INDENTATION -->
  127. <p>Libtiff library home page:
  128. <b>http://www.simplesystems.org/libtiff/</b></p>
  129. </td>
  130. </table>
  131. <hr>
  132. </body>
  133. </html>