.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "TIFF2BW" "1" "Dec 17, 2022" "4.5" "LibTIFF" .SH NAME tiff2bw \- convert a color TIFF image to greyscale .SH SYNOPSIS .sp \fBtiff2bw\fP [ \fIoptions\fP ] \fIinput.tif\fP \fIoutput.tif\fP .SH DESCRIPTION .sp \fBtiff2bw\fP converts an RGB or Palette color TIFF image to a greyscale image by combining percentages of the red, green, and blue channels. By default, output samples are created by taking 28% of the red channel, 59% of the green channel, and 11% of the blue channel. To alter these percentages, the \fI\%\-R\fP, \fI\%\-G\fP, and \fI\%\-B\fP options may be used. .SH OPTIONS .INDENT 0.0 .TP .B \-c compress Specify a compression scheme to use when writing image data: \fB\-c none\fP for no compression, \fB\-c packbits\fP for the PackBits compression algorithm, \fB\-c zip\fP for the Deflate compression algorithm, \fB\-c g3\fP for the CCITT Group 3 compression algorithm, \fB\-c g4\fP for the CCITT Group 4 compression algorithm, \fB\-c lzw\fP for Lempel\-Ziv & Welch (the default). .UNINDENT .INDENT 0.0 .TP .B \-r striprows Write data with a specified number of rows per strip; by default the number of rows/strip is selected so that each strip is approximately 8 kilobytes. .UNINDENT .INDENT 0.0 .TP .B \-R redperc Specify the percentage of the red channel to use (default 28). .UNINDENT .INDENT 0.0 .TP .B \-G greenperc Specify the percentage of the green channel to use (default 59). .UNINDENT .INDENT 0.0 .TP .B \-B blueperc Specify the percentage of the blue channel to use (default 11). .UNINDENT .SH SEE ALSO .sp \fI\%pal2rgb\fP (1), \fI\%tiffinfo\fP (1), \fI\%tiffcp\fP (1), \fI\%tiffmedian\fP (1), \fI\%libtiff\fP (3tiff), .SH AUTHOR LibTIFF contributors .SH COPYRIGHT 1988-2022, LibTIFF contributors .\" Generated by docutils manpage writer. .