1<!-- Creator : groff version 1.18.1 --> 2<!-- CreationDate: Sat Feb 24 18:37:19 2007 --> 3<html> 4<head> 5<meta name="generator" content="groff -Thtml, see www.gnu.org"> 6<meta name="Content-Style" content="text/css"> 7<title>RGB2YCBCR</title> 8</head> 9<body> 10 11<h1 align=center>RGB2YCBCR</h1> 12<a href="#NAME">NAME</a><br> 13<a href="#SYNOPSIS">SYNOPSIS</a><br> 14<a href="#DESCRIPTION">DESCRIPTION</a><br> 15<a href="#OPTIONS">OPTIONS</a><br> 16<a href="#SEE ALSO">SEE ALSO</a><br> 17 18<hr> 19<a name="NAME"></a> 20<h2>NAME</h2> 21<!-- INDENTATION --> 22<table width="100%" border=0 rules="none" frame="void" 23 cols="2" cellspacing="0" cellpadding="0"> 24<tr valign="top" align="left"> 25<td width="8%"></td> 26<td width="91%"> 27<p>rgb2ycbcr − convert non-YCbCr <small>TIFF</small> 28images to a YCbCr <small>TIFF</small> image</p> 29</td> 30</table> 31<a name="SYNOPSIS"></a> 32<h2>SYNOPSIS</h2> 33<!-- INDENTATION --> 34<table width="100%" border=0 rules="none" frame="void" 35 cols="2" cellspacing="0" cellpadding="0"> 36<tr valign="top" align="left"> 37<td width="8%"></td> 38<td width="91%"> 39<p><b>rgb2ycbcr</b> [ <i>options</i> ] <i>src1.tif src2.tif 40... dst.tif</i></p> 41</td> 42</table> 43<a name="DESCRIPTION"></a> 44<h2>DESCRIPTION</h2> 45<!-- INDENTATION --> 46<table width="100%" border=0 rules="none" frame="void" 47 cols="2" cellspacing="0" cellpadding="0"> 48<tr valign="top" align="left"> 49<td width="8%"></td> 50<td width="91%"> 51<p><i>rgb2ycbcr</i> converts <small>RGB</small> color, 52greyscale, or bi-level <small>TIFF</small> images to YCbCr 53images by transforming and sampling pixel data. If multiple 54files are specified on the command line each source file is 55converted to a separate directory in the destination 56file.</p> 57<!-- INDENTATION --> 58<p>By default, chrominance samples are created by sampling 2 59by 2 blocks of luminance values; this can be changed with 60the <b>−h</b> and <b>−v</b> options. Output data 61are compressed with the <small>PackBits</small> compression 62scheme, by default; an alternate scheme can be selected with 63the <b>−c</b> option. By default, output data are 64compressed in strips with the number of rows in each strip 65selected so that the size of a strip is never more than 8 66kilobytes; the <b>−r</b> option can be used to 67explicitly set the number of rows per strip.</p> 68</td> 69</table> 70<a name="OPTIONS"></a> 71<h2>OPTIONS</h2> 72<!-- TABS --> 73<table width="100%" border=0 rules="none" frame="void" 74 cols="5" cellspacing="0" cellpadding="0"> 75<tr valign="top" align="left"> 76<td width="10%"></td> 77<td width="3%"> 78 79<p><b>−c</b></p> 80</td> 81<td width="5%"></td> 82<td width="80%"> 83 84<p>Specify a compression scheme to use when writing image 85data: <b>−c none</b> for no compression, <b>−c 86packbits</b> for the PackBits compression algorithm (the 87default), <b>−c jpeg</b> for the JPEG compression 88algorithm, <b>−c zip</b> for the deflate compression 89algorithm, and <b>−c lzw</b> for Lempel-Ziv & 90Welch.</p> 91</td> 92<td width="0%"> 93</td> 94<tr valign="top" align="left"> 95<td width="10%"></td> 96<td width="3%"> 97 98<p><b>−h</b></p> 99</td> 100<td width="5%"></td> 101<td width="80%"> 102 103<p>Set the horizontal sampling dimension to one of: 1, 2 104(default), or 4.</p> 105</td> 106<td width="0%"> 107</td> 108<tr valign="top" align="left"> 109<td width="10%"></td> 110<td width="3%"> 111 112<p><b>−r</b></p> 113</td> 114<td width="5%"></td> 115<td width="80%"> 116 117<p>Write data with a specified number of rows per strip; by 118default the number of rows/strip is selected so that each 119strip is approximately 8 kilobytes.</p> 120</td> 121<td width="0%"> 122</td> 123<tr valign="top" align="left"> 124<td width="10%"></td> 125<td width="3%"> 126 127<p><b>−v</b></p> 128</td> 129<td width="5%"></td> 130<td width="80%"> 131 132<p>Set the vertical sampling dimension to one of: 1, 2 133(default), or 4.</p> 134</td> 135<td width="0%"> 136</td> 137</table> 138<a name="SEE ALSO"></a> 139<h2>SEE ALSO</h2> 140<!-- INDENTATION --> 141<table width="100%" border=0 rules="none" frame="void" 142 cols="2" cellspacing="0" cellpadding="0"> 143<tr valign="top" align="left"> 144<td width="8%"></td> 145<td width="91%"> 146<p><b>tiffinfo</b>(1), <b>tiffcp</b>(1), 147<b>libtiff</b>(3)</p> 148<!-- INDENTATION --> 149<p>Libtiff library home page: 150<b>http://www.simplesystems.org/libtiff/</b></p> 151</td> 152</table> 153<hr> 154</body> 155</html> 156