1 <!-- Creator     : groff version 1.18.1 --> 
   2 <!-- CreationDate: Mon Mar 13 18:03:12 2006 --> 
   5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org"> 
   6 <meta name=
"Content-Style" content=
"text/css"> 
   7 <title>RGB2YCBCR
</title> 
  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> 
  22 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  23        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  24 <tr valign=
"top" align=
"left"> 
  27 <p>rgb2ycbcr 
− convert non-YCbCr 
<small>TIFF
</small> 
  28 images to a YCbCr 
<small>TIFF
</small> image
</p> 
  31 <a name=
"SYNOPSIS"></a> 
  34 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  35        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  36 <tr valign=
"top" align=
"left"> 
  39 <p><b>rgb2ycbcr
</b> [ 
<i>options
</i> ] 
<i>src1.tif src2.tif
 
  43 <a name=
"DESCRIPTION"></a> 
  46 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  47        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  48 <tr valign=
"top" align=
"left"> 
  51 <p><i>rgb2ycbcr
</i> converts 
<small>RGB
</small> color,
 
  52 greyscale, or bi-level 
<small>TIFF
</small> images to YCbCr
 
  53 images by transforming and sampling pixel data. If multiple
 
  54 files are specified on the command line each source file is
 
  55 converted to a separate directory in the destination
 
  58 <p>By default, chrominance samples are created by sampling 
2 
  59 by 
2 blocks of luminance values; this can be changed with
 
  60 the 
<b>−h
</b> and 
<b>−v
</b> options. Output data
 
  61 are compressed with the 
<small>PackBits
</small> compression
 
  62 scheme, by default; an alternate scheme can be selected with
 
  63 the 
<b>−c
</b> option. By default, output data are
 
  64 compressed in strips with the number of rows in each strip
 
  65 selected so that the size of a strip is never more than 
8 
  66 kilobytes; the 
<b>−r
</b> option can be used to
 
  67 explicitly set the number of rows per strip.
</p> 
  70 <a name=
"OPTIONS"></a> 
  73 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  74        cols=
"5" cellspacing=
"0" cellpadding=
"0"> 
  75 <tr valign=
"top" align=
"left"> 
  79 <p><b>−c
</b></p> 
  84 <p>Specify a compression scheme to use when writing image
 
  85 data: 
<b>−c none
</b> for no compression, 
<b>-c
 
  86 packbits
</b> for the PackBits compression algorithm (the
 
  87 default), 
<b>-c jpeg
</b> for the JPEG compression algorithm,
 
  88 <b>-c zip
</b> for the deflate compression algorithm, and
 
  89 <b>−c lzw
</b> for Lempel-Ziv 
& Welch.
</p> 
  93 <tr valign=
"top" align=
"left"> 
  97 <p><b>−h
</b></p> 
 102 <p>Set the horizontal sampling dimension to one of: 
1, 
2 
 107 <tr valign=
"top" align=
"left"> 
 108 <td width=
"10%"></td> 
 111 <p><b>−r
</b></p> 
 116 <p>Write data with a specified number of rows per strip; by
 
 117 default the number of rows/strip is selected so that each
 
 118 strip is approximately 
8 kilobytes.
</p> 
 122 <tr valign=
"top" align=
"left"> 
 123 <td width=
"10%"></td> 
 126 <p><b>−v
</b></p> 
 131 <p>Set the vertical sampling dimension to one of: 
1, 
2 
 137 <a name=
"SEE ALSO"></a> 
 140 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 141        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 142 <tr valign=
"top" align=
"left"> 
 145 <p><b>tiffinfo
</b>(
1), 
<b>tiffcp
</b>(
1),
 
 146 <b>libtiff
</b>(
3)
</p> 
 148 <p>Libtiff library home page:
 
 149 <b>http://www.remotesensing.org/libtiff
</b></p>