pal2rgb.1.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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>PAL2RGB</title>
  8. </head>
  9. <body>
  10. <h1 align=center>PAL2RGB</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>pal2rgb &minus; convert a palette color
  27. <small>TIFF</small> image to a full color image</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>pal2rgb</b> [ <i>options</i> ] <i>input.tif
  39. 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>Pal2rgb</i> converts a palette color
  51. <small>TIFF</small> image to a full color image by applying
  52. the colormap of the palette image to each sample to generate
  53. a full color <small>RGB</small> image.</p>
  54. </td>
  55. </table>
  56. <a name="OPTIONS"></a>
  57. <h2>OPTIONS</h2>
  58. <!-- INDENTATION -->
  59. <table width="100%" border=0 rules="none" frame="void"
  60. cols="2" cellspacing="0" cellpadding="0">
  61. <tr valign="top" align="left">
  62. <td width="8%"></td>
  63. <td width="91%">
  64. <p>Options that affect the interpretation of input data
  65. are:</p>
  66. </td>
  67. </table>
  68. <!-- TABS -->
  69. <table width="100%" border=0 rules="none" frame="void"
  70. cols="5" cellspacing="0" cellpadding="0">
  71. <tr valign="top" align="left">
  72. <td width="11%"></td>
  73. <td width="2%">
  74. <p><b>&minus;C</b></p>
  75. </td>
  76. <td width="5%"></td>
  77. <td width="80%">
  78. <p>This option overrides the default behavior of
  79. <i>pal2rgb</i> in determining whether or not colormap
  80. entries contain 16-bit or 8-bit values. By default the
  81. colormap is inspected and if no colormap entry greater than
  82. 255 is found, the colormap is assumed to have only 8-bit
  83. values; otherwise 16-bit values (as required by the
  84. <small>TIFF</small> specification) are assumed. The
  85. <b>&minus;C</b> option can be used to explicitly specify the
  86. number of bits for colormap entries: <b>&minus;C 8</b> for
  87. 8-bit values, <b>&minus;C 16</b> for 16-bit values.</p>
  88. </td>
  89. <td width="0%">
  90. </td>
  91. </table>
  92. <!-- INDENTATION -->
  93. <table width="100%" border=0 rules="none" frame="void"
  94. cols="2" cellspacing="0" cellpadding="0">
  95. <tr valign="top" align="left">
  96. <td width="8%"></td>
  97. <td width="91%">
  98. <p>Options that affect the output file format are:</p>
  99. </td>
  100. </table>
  101. <!-- TABS -->
  102. <table width="100%" border=0 rules="none" frame="void"
  103. cols="5" cellspacing="0" cellpadding="0">
  104. <tr valign="top" align="left">
  105. <td width="10%"></td>
  106. <td width="5%">
  107. <p><b>&minus;p</b></p>
  108. </td>
  109. <td width="3%"></td>
  110. <td width="80%">
  111. <p>Explicitly select the planar configuration used in
  112. organizing data samples in the output image: <b>&minus;p
  113. contig</b> for samples packed contiguously, and <b>&minus;p
  114. separate</b> for samples stored separately. By default
  115. samples are packed.</p>
  116. </td>
  117. <td width="0%">
  118. </td>
  119. <tr valign="top" align="left">
  120. <td width="10%"></td>
  121. <td width="5%">
  122. <p><b>&minus;c</b></p>
  123. </td>
  124. <td width="3%"></td>
  125. <td width="80%">
  126. <p>Use the specific compression algorithm to encoded image
  127. data in the output file: <b>&minus;c packbits</b> for
  128. Macintosh Packbits, <b>&minus;c lzw</b> for Lempel-Ziv &amp;
  129. Welch, <b>&minus;c zip</b> for Deflate, <b>&minus;c none</b>
  130. for no compression. If no compression-related option is
  131. specified, the input file&rsquo;s compression algorithm is
  132. used.</p>
  133. </td>
  134. <td width="0%">
  135. </td>
  136. <tr valign="top" align="left">
  137. <td width="10%"></td>
  138. <td width="5%">
  139. <p><b>&minus;r</b></p>
  140. </td>
  141. <td width="3%"></td>
  142. <td width="80%">
  143. <p>Explicitly specify the number of rows in each strip of
  144. the output file. If the <b>&minus;r</b> option is not
  145. specified, a number is selected such that each output strip
  146. has approximately 8 kilobytes of data in it.</p>
  147. </td>
  148. <td width="0%">
  149. </td>
  150. </table>
  151. <a name="BUGS"></a>
  152. <h2>BUGS</h2>
  153. <!-- INDENTATION -->
  154. <table width="100%" border=0 rules="none" frame="void"
  155. cols="2" cellspacing="0" cellpadding="0">
  156. <tr valign="top" align="left">
  157. <td width="8%"></td>
  158. <td width="91%">
  159. <p>Only 8-bit images are handled.</p>
  160. </td>
  161. </table>
  162. <a name="SEE ALSO"></a>
  163. <h2>SEE ALSO</h2>
  164. <!-- INDENTATION -->
  165. <table width="100%" border=0 rules="none" frame="void"
  166. cols="2" cellspacing="0" cellpadding="0">
  167. <tr valign="top" align="left">
  168. <td width="8%"></td>
  169. <td width="91%">
  170. <p><b>tiffinfo</b>(1), <b>tiffcp</b>(1),
  171. <b>tiffmedian</b>(1), <b>libtiff</b>(3)</p>
  172. <!-- INDENTATION -->
  173. <p>Libtiff library home page:
  174. <b>http://www.simplesystems.org/libtiff/</b></p>
  175. </td>
  176. </table>
  177. <hr>
  178. </body>
  179. </html>