<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML><HEAD><TITLE>Manpage of RGB2YCBCR</TITLE> </HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial"> <H1>RGB2YCBCR</H1> Section: User Commands (1)<BR>Updated: October 15, 1995<BR><A HREF="#index">Index</A> <BR><A HREF="index.html">Return to Main Contents</A> <HR> <A NAME="lbAB"> </A> <H2>NAME</H2> rgb2ycbcr - convert non-YCbCr <FONT SIZE="-1">TIFF</FONT> images to a YCbCr <FONT SIZE="-1">TIFF</FONT> image <A NAME="lbAC"> </A> <H2>SYNOPSIS</H2> <B>rgb2ycbcr</B> [ <I>options</I> ] <I>src1.tif src2.tif ... dst.tif</I> <A NAME="lbAD"> </A> <H2>DESCRIPTION</H2> <I>rgb2ycbcr</I> converts <FONT SIZE="-1">RGB</FONT> color, greyscale, or bi-level <FONT SIZE="-1">TIFF</FONT> images to YCbCr images by transforming and sampling pixel data. If multiple files are specified on the command line each source file is converted to a separate directory in the destination file. <P> By default, chrominance samples are created by sampling 2 by 2 blocks of luminance values; this can be changed with the <B>-h</B> and <B>-v</B> options. Output data are compressed with the <FONT SIZE="-1">LZW</FONT> compression scheme, by default; an alternate scheme can be selected with the <B>-c</B> option. By default, output data are compressed in strips with the number of rows in each strip selected so that the size of a strip is never more than 8 kilobytes; the <B>-r</B> option can be used to explicitly set the number of rows per strip. <A NAME="lbAE"> </A> <H2>OPTIONS</H2> <DL COMPACT> <DT><B>-c</B> <DD> Specify a compression scheme to use when writing image data: <B>-c none</B> for no compression, <B>-c packbits</B> for the PackBits compression algorithm, <B>-c jpeg</B> for the JPEG compression algorithm, and <B>-c lzw</B> for Lempel-Ziv & Welch (the default). <DT><B>-h</B> <DD> Set the horizontal sampling dimension to one of: 1, 2 (default), or 4. <DT><B>-r</B> <DD> 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. <DT><B>-v</B> <DD> Set the vertical sampling dimension to one of: 1, 2 (default), or 4. </DL> <A NAME="lbAF"> </A> <H2>SEE ALSO</H2> <I><A HREF="tiffinfo+1.html">tiffinfo</A></I>(1), <I><A HREF="tiffcp+1.html">tiffcp</A></I>(1), <I><A HREF="libtiff+3">libtiff</A></I>(3) <HR> <A NAME="index"> </A><H2>Index</H2> <DL> <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> <DT><A HREF="#lbAE">OPTIONS</A><DD> <DT><A HREF="#lbAF">SEE ALSO</A><DD> </DL> <HR> This document was created by <A HREF="index.html">man2html</A>, using the manual pages.<BR> Time: 01:31:47 GMT, November 23, 1999 </BODY> </HTML>