]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/man/tiff2bw.1
Correct making the newly inserted menu item owner drawn in some cases.
[wxWidgets.git] / src / tiff / man / tiff2bw.1
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
27 tiff2bw \- convert a color
28 .SM TIFF
29 image 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
39 converts an
40 .SM RGB
41 or Palette color
42 .SM TIFF
43 image to a greyscale image by
44 combining percentages of the red, green, and blue channels.
45 By default, output samples are created by taking
46 28% of the red channel, 59% of the green channel, and 11% of
47 the blue channel.
48 To alter these percentages, the
49 .BR \-R ,
50 .BR \-G ,
51 and
52 .BR \-B
53 options may be used.
54 .SH OPTIONS
55 .TP
56 .B \-c
57 Specify a compression scheme to use when writing image data:
58 .B "\-c none"
59 for no compression,
60 .B "\-c packbits"
61 for the PackBits compression algorithm,
62 .B "\-c zip
63 for the Deflate compression algorithm,
64 .B "\-c g3
65 for the CCITT Group 3 compression algorithm,
66 .B "\-c g4
67 for the CCITT Group 4 compression algorithm,
68 and
69 .B "\-c lzw"
70 for Lempel-Ziv & Welch (the default).
71 .TP
72 .B \-r
73 Write data with a specified number of rows per strip;
74 by default the number of rows/strip is selected so that each strip
75 is approximately 8 kilobytes.
76 .TP
77 .B \-R
78 Specify the percentage of the red channel to use (default 28).
79 .TP
80 .B \-G
81 Specify the percentage of the green channel to use (default 59).
82 .TP
83 .B \-B
84 Specify 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
92 Libtiff library home page:
93 .BR http://www.remotesensing.org/libtiff/