]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/tiff/man/tiff2bw.1
The alignment controls are now left-aligned if the floating controls are not shown.
[wxWidgets.git] / src / tiff / man / tiff2bw.1
... / ...
CommitLineData
1.\"
2.\" Copyright (c) 1988-1997 Sam Leffler
3.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
4.\"
5.\" Permission to use, copy, modify, distribute, and sell this software and
6.\" its documentation for any purpose is hereby granted without fee, provided
7.\" that (i) the above copyright notices and this permission notice appear in
8.\" all copies of the software and related documentation, and (ii) the names of
9.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10.\" publicity relating to the software without the specific, prior written
11.\" permission of Sam Leffler and Silicon Graphics.
12.\"
13.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16.\"
17.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22.\" OF THIS SOFTWARE.
23.\"
24.if n .po 0
25.TH TIFF2BW 1 "November 2, 2005" "libtiff"
26.SH NAME
27tiff2bw \- convert a color
28.SM TIFF
29image to greyscale
30.SH SYNOPSIS
31.B tiff2bw
32[
33.I options
34]
35.I input.tif
36.I output.tif
37.SH DESCRIPTION
38.I Tiff2bw
39converts an
40.SM RGB
41or Palette color
42.SM TIFF
43image to a greyscale image by
44combining percentages of the red, green, and blue channels.
45By default, output samples are created by taking
4628% of the red channel, 59% of the green channel, and 11% of
47the blue channel.
48To alter these percentages, the
49.BR \-R ,
50.BR \-G ,
51and
52.BR \-B
53options may be used.
54.SH OPTIONS
55.TP
56.B \-c
57Specify a compression scheme to use when writing image data:
58.B "\-c none"
59for no compression,
60.B "\-c packbits"
61for the PackBits compression algorithm,
62.B "\-c zip
63for the Deflate compression algorithm,
64.B "\-c g3
65for the CCITT Group 3 compression algorithm,
66.B "\-c g4
67for the CCITT Group 4 compression algorithm,
68and
69.B "\-c lzw"
70for Lempel-Ziv & Welch (the default).
71.TP
72.B \-r
73Write data with a specified number of rows per strip;
74by default the number of rows/strip is selected so that each strip
75is approximately 8 kilobytes.
76.TP
77.B \-R
78Specify the percentage of the red channel to use (default 28).
79.TP
80.B \-G
81Specify the percentage of the green channel to use (default 59).
82.TP
83.B \-B
84Specify the percentage of the blue channel to use (default 11).
85.SH "SEE ALSO"
86.BR pal2rgb (1),
87.BR tiffinfo (1),
88.BR tiffcp (1),
89.BR tiffmedian (1),
90.BR libtiff (3)
91.PP
92Libtiff library home page:
93.BR http://www.remotesensing.org/libtiff/