10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refmeta><
refentrytitle>tiff2bw</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
refmiscinfo class="date">26 Mar 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>tiff2bw</
primary></
indexterm><
indexterm><
primary>convert
10139N/Aa color TIFF image to grayscale</
primary></
indexterm>
10139N/A<
refnamediv id="tiff2bw-1-name"><
refname>tiff2bw</
refname><
refpurpose>convert
10139N/Aa color TIFF image to grayscale</
refpurpose></
refnamediv>
10139N/A<
refsynopsisdiv id="tiff2bw-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command><
arg choice="opt"><
option role="nodash"><
replaceable>
10139N/Aoptions</
replaceable></
option></
arg><
arg choice="plain"><
option role="nodash"><
replaceable>
10139N/Ainput.tif</
replaceable></
option></
arg><
arg choice="plain"><
option role="nodash"><
replaceable>
10139N/A<
refsect1 id="tiff2bw-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> converts an RGB or palette color TIFF image
10139N/Ato a grayscale image by combining percentages of the red, green, and blue
10139N/Achannels. By default, output samples are created by taking 28% of the red
10139N/Achannel, 59% of the green channel, and 11% of the blue channel. To alter these
10139N/Apercentages, use the <
option>R</
option>. <
option>G</
option>, and <
option>
10139N/A<
refsect1 id="tiff2bw-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="narrow">
10139N/A<
varlistentry><
term><
option>B</
option></
term><
listitem><
para>Specify the percentage
10139N/Aof the blue channel to use. The default value is 11.</
para>
10139N/A<
varlistentry><
term><
option>c</
option></
term><
listitem><
para>Specify a compression
10139N/Ascheme to use when writing image data:</
para>
10139N/A<
varlistentry><
term><
option>c g3</
option></
term><
listitem><
para>CCITT Group
10139N/A<
varlistentry><
term><
option>c g4</
option></
term><
listitem><
para>CCITT Group
10139N/A<
varlistentry><
term><
option>c lzw</
option></
term><
listitem><
para>Lempel-Ziv
10139N/Aand Welch algorithm. This is the default algorithm.</
para>
10139N/A<
varlistentry><
term><
option>c none</
option></
term><
listitem><
para>No compression.
10139N/A<
varlistentry><
term><
option>c packbits</
option></
term><
listitem><
para>PackBits
10139N/A<
varlistentry><
term><
option>c zip</
option></
term><
listitem><
para>Deflate compression
10139N/A</
variablelist></
listitem></
varlistentry>
10139N/A<
varlistentry><
term><
option>G</
option></
term><
listitem><
para>Specify the percentage
10139N/Aof the green channel to use. The default value is 59.</
para>
10139N/A<
varlistentry><
term><
option>R</
option></
term><
listitem><
para>Specify the percentage
10139N/Aof the red channel to use. The default value is 28.</
para>
10139N/A<
varlistentry><
term><
option>r</
option></
term><
listitem><
para>Write data with
10139N/Aa specified number of rows per strip. By default, the number of rows per strip
10139N/Ais selected so that each strip is approximately 8 kilobytes.</
para>
10139N/A<
variablelist termlength="narrow"></
variablelist></
refsect1>
10139N/A<
refsect1 id="tiff2bw-1-oper"><
title>&oper-tt;</
title>
10139N/A<
para>The following operands are supported:</
para>
10139N/A<
variablelist termlength="narrow">
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>
input.tif</
replaceable></
option></
term>
10139N/A<
listitem><
para>The name of the input TIFF file.</
para>
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>
output.tif</
replaceable></
option></
term>
10139N/A<
listitem><
para>The name of the output file.</
para>
10139N/A<
refsect1 id="tiff2bw-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
10139N/A<
refsect1 id="tiff2bw-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>pal2rgb</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>tiffinfo</
refentrytitle><
manvolnum>
10139N/A1</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>tiffcp</
refentrytitle>
10139N/A<
manvolnum>1</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>tiffmedian
10139N/A</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>
10139N/Alibtiff</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry></
para>
10139N/A<
refsect1 id="tiff2bw-1-note"><
title>¬e-tt;</
title>
10139N/A<
para><?
Pub Caret1>Updated by Breda McColgan, Sun Microsystems Inc., 2004.</
para>