tiff2rgba.1.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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>TIFF2RGBA</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFF2RGBA</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>tiff2rgba &minus; convert a <small>TIFF</small> image to
  26. RGBA color space</p>
  27. </td>
  28. </table>
  29. <a name="SYNOPSIS"></a>
  30. <h2>SYNOPSIS</h2>
  31. <!-- INDENTATION -->
  32. <table width="100%" border=0 rules="none" frame="void"
  33. cols="2" cellspacing="0" cellpadding="0">
  34. <tr valign="top" align="left">
  35. <td width="8%"></td>
  36. <td width="91%">
  37. <p><b>tiff2rgba</b> [ <i>options</i> ] <i>input.tif
  38. output.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>Tiff2rgba</i> converts a wide variety of TIFF images
  50. into an RGBA TIFF image. This includes the ability to
  51. translate different color spaces and photometric
  52. interpretation into RGBA, support for alpha blending, and
  53. translation of many different bit depths into a 32bit RGBA
  54. image.</p>
  55. <!-- INDENTATION -->
  56. <p>Internally this program is implemented using the
  57. <i>TIFFReadRGBAImage()</i> function, and it suffers any
  58. limitations of that image. This includes limited support for
  59. &gt; 8 BitsPerSample images, and flaws with some esoteric
  60. combinations of BitsPerSample, photometric interpretation,
  61. block organization and planar configuration.</p>
  62. <!-- INDENTATION -->
  63. <p>The generated images are stripped images with four
  64. samples per pixel (red, green, blue and alpha) or if the
  65. <b>&minus;n</b> flag is used, three samples per pixel (red,
  66. green, and blue). The resulting images are always planar
  67. configuration contiguous. For this reason, this program is a
  68. useful utility for transform exotic TIFF files into a form
  69. ingestible by almost any TIFF supporting software.</p>
  70. </td>
  71. </table>
  72. <a name="OPTIONS"></a>
  73. <h2>OPTIONS</h2>
  74. <!-- TABS -->
  75. <table width="100%" border=0 rules="none" frame="void"
  76. cols="5" cellspacing="0" cellpadding="0">
  77. <tr valign="top" align="left">
  78. <td width="11%"></td>
  79. <td width="2%">
  80. <p><b>&minus;c</b></p>
  81. </td>
  82. <td width="5%"></td>
  83. <td width="80%">
  84. <p>Specify a compression scheme to use when writing image
  85. data: <b>&minus;c none</b> for no compression (the default),
  86. <b>&minus;c packbits</b> for the PackBits compression
  87. algorithm, <b>&minus;c zip</b> for the Deflate compression
  88. algorithm, <b>&minus;c jpeg</b> for the JPEG compression
  89. algorithm, and <b>&minus;c lzw</b> for Lempel-Ziv &amp;
  90. Welch.</p>
  91. </td>
  92. <td width="0%">
  93. </td>
  94. <tr valign="top" align="left">
  95. <td width="11%"></td>
  96. <td width="2%">
  97. <p><b>&minus;r</b></p>
  98. </td>
  99. <td width="5%"></td>
  100. <td width="80%">
  101. <p>Write data with a specified number of rows per strip; by
  102. default the number of rows/strip is selected so that each
  103. strip is approximately 8 kilobytes.</p>
  104. </td>
  105. <td width="0%">
  106. </td>
  107. <tr valign="top" align="left">
  108. <td width="11%"></td>
  109. <td width="2%">
  110. <p><b>&minus;b</b></p>
  111. </td>
  112. <td width="5%"></td>
  113. <td width="80%">
  114. <p>Process the image one block (strip/tile) at a time
  115. instead of by reading the whole image into memory at once.
  116. This may be necessary for very large images on systems with
  117. limited RAM.</p>
  118. </td>
  119. <td width="0%">
  120. </td>
  121. <tr valign="top" align="left">
  122. <td width="11%"></td>
  123. <td width="2%">
  124. <p><b>&minus;n</b></p>
  125. </td>
  126. <td width="5%"></td>
  127. <td width="80%">
  128. <p>Drop the alpha component from the output file, producing
  129. a pure RGB file. Currently this does not work if the
  130. <b>&minus;b</b> flag is also in effect.</p>
  131. </td>
  132. <td width="0%">
  133. </td>
  134. </table>
  135. <a name="SEE ALSO"></a>
  136. <h2>SEE ALSO</h2>
  137. <!-- INDENTATION -->
  138. <table width="100%" border=0 rules="none" frame="void"
  139. cols="2" cellspacing="0" cellpadding="0">
  140. <tr valign="top" align="left">
  141. <td width="8%"></td>
  142. <td width="91%">
  143. <p><b>tiff2bw</b>(1), <b>TIFFReadRGBAImage</b>(3t),
  144. <b>libtiff</b>(3)</p>
  145. <!-- INDENTATION -->
  146. <p>Libtiff library home page:
  147. <b>http://www.simplesystems.org/libtiff/</b></p>
  148. </td>
  149. </table>
  150. <hr>
  151. </body>
  152. </html>