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