]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/html/man/tiff2bw.1.html
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / tiff / html / man / tiff2bw.1.html
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>TIFF2BW</title>
8 </head>
9 <body>
10
11 <h1 align=center>TIFF2BW</h1>
12 <a href="#NAME">NAME</a><br>
13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
15 <a href="#OPTIONS">OPTIONS</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
17
18 <hr>
19 <a name="NAME"></a>
20 <h2>NAME</h2>
21 <!-- INDENTATION -->
22 <table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
25 <td width="8%"></td>
26 <td width="91%">
27 <p>tiff2bw &minus; convert a color <small>TIFF</small> image
28 to greyscale</p>
29 </td>
30 </table>
31 <a name="SYNOPSIS"></a>
32 <h2>SYNOPSIS</h2>
33 <!-- INDENTATION -->
34 <table width="100%" border=0 rules="none" frame="void"
35 cols="2" cellspacing="0" cellpadding="0">
36 <tr valign="top" align="left">
37 <td width="8%"></td>
38 <td width="91%">
39 <p><b>tiff2bw</b> [ <i>options</i> ] <i>input.tif
40 output.tif</i></p>
41 </td>
42 </table>
43 <a name="DESCRIPTION"></a>
44 <h2>DESCRIPTION</h2>
45 <!-- INDENTATION -->
46 <table width="100%" border=0 rules="none" frame="void"
47 cols="2" cellspacing="0" cellpadding="0">
48 <tr valign="top" align="left">
49 <td width="8%"></td>
50 <td width="91%">
51 <p><i>Tiff2bw</i> converts an <small>RGB</small> or Palette
52 color <small>TIFF</small> image to a greyscale image by
53 combining percentages of the red, green, and blue channels.
54 By default, output samples are created by taking 28% of the
55 red channel, 59% of the green channel, and 11% of the blue
56 channel. To alter these percentages, the <b>&minus;R</b>,
57 <b>&minus;G</b>, and <b>&minus;B</b> options may be
58 used.</p>
59 </td>
60 </table>
61 <a name="OPTIONS"></a>
62 <h2>OPTIONS</h2>
63 <!-- TABS -->
64 <table width="100%" border=0 rules="none" frame="void"
65 cols="5" cellspacing="0" cellpadding="0">
66 <tr valign="top" align="left">
67 <td width="10%"></td>
68 <td width="3%">
69
70 <p><b>&minus;c</b></p>
71 </td>
72 <td width="5%"></td>
73 <td width="80%">
74
75 <p>Specify a compression scheme to use when writing image
76 data: <b>&minus;c none</b> for no compression, <b>&minus;c
77 packbits</b> for the PackBits compression algorithm,
78 <b>&minus;c zip</b> for the Deflate compression algorithm,
79 <b>&minus;c g3</b> for the CCITT Group 3 compression
80 algorithm, <b>&minus;c g4</b> for the CCITT Group 4
81 compression algorithm, and <b>&minus;c lzw</b> for
82 Lempel-Ziv &amp; Welch (the default).</p>
83 </td>
84 <td width="0%">
85 </td>
86 <tr valign="top" align="left">
87 <td width="10%"></td>
88 <td width="3%">
89
90 <p><b>&minus;r</b></p>
91 </td>
92 <td width="5%"></td>
93 <td width="80%">
94
95 <p>Write data with a specified number of rows per strip; by
96 default the number of rows/strip is selected so that each
97 strip is approximately 8 kilobytes.</p>
98 </td>
99 <td width="0%">
100 </td>
101 <tr valign="top" align="left">
102 <td width="10%"></td>
103 <td width="3%">
104
105 <p><b>&minus;R</b></p>
106 </td>
107 <td width="5%"></td>
108 <td width="80%">
109
110 <p>Specify the percentage of the red channel to use
111 (default 28).</p>
112 </td>
113 <td width="0%">
114 </td>
115 <tr valign="top" align="left">
116 <td width="10%"></td>
117 <td width="3%">
118
119 <p><b>&minus;G</b></p>
120 </td>
121 <td width="5%"></td>
122 <td width="80%">
123
124 <p>Specify the percentage of the green channel to use
125 (default 59).</p>
126 </td>
127 <td width="0%">
128 </td>
129 <tr valign="top" align="left">
130 <td width="10%"></td>
131 <td width="3%">
132
133 <p><b>&minus;B</b></p>
134 </td>
135 <td width="5%"></td>
136 <td width="80%">
137
138 <p>Specify the percentage of the blue channel to use
139 (default 11).</p>
140 </td>
141 <td width="0%">
142 </td>
143 </table>
144 <a name="SEE ALSO"></a>
145 <h2>SEE ALSO</h2>
146 <!-- INDENTATION -->
147 <table width="100%" border=0 rules="none" frame="void"
148 cols="2" cellspacing="0" cellpadding="0">
149 <tr valign="top" align="left">
150 <td width="8%"></td>
151 <td width="91%">
152 <p><b>pal2rgb</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1),
153 <b>tiffmedian</b>(1), <b>libtiff</b>(3)</p>
154 <!-- INDENTATION -->
155 <p>Libtiff library home page:
156 <b>http://www.remotesensing.org/libtiff/</b></p>
157 </td>
158 </table>
159 <hr>
160 </body>
161 </html>