1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:19 2007 -->
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
88 algorithm,
<b>−c zip
</b> for the deflate compression
89 algorithm, and
<b>−c lzw
</b> for Lempel-Ziv
&
94 <tr valign=
"top" align=
"left">
98 <p><b>−h
</b></p>
103 <p>Set the horizontal sampling dimension to one of:
1,
2
108 <tr valign=
"top" align=
"left">
109 <td width=
"10%"></td>
112 <p><b>−r
</b></p>
117 <p>Write data with a specified number of rows per strip; by
118 default the number of rows/strip is selected so that each
119 strip is approximately
8 kilobytes.
</p>
123 <tr valign=
"top" align=
"left">
124 <td width=
"10%"></td>
127 <p><b>−v
</b></p>
132 <p>Set the vertical sampling dimension to one of:
1,
2
138 <a name=
"SEE ALSO"></a>
141 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
142 cols=
"2" cellspacing=
"0" cellpadding=
"0">
143 <tr valign=
"top" align=
"left">
146 <p><b>tiffinfo
</b>(
1),
<b>tiffcp
</b>(
1),
147 <b>libtiff
</b>(
3)
</p>
149 <p>Libtiff library home page:
150 <b>http://www.remotesensing.org/libtiff
</b></p>