0
|
1 |
<!-- Creator : groff version 1.18.1 -->
|
|
2 |
<!-- CreationDate: Mon Mar 13 18:03:12 2006 -->
|
|
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>
|
|
28 |
images 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,
|
|
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
|
|
56 |
file.</p>
|
|
57 |
<!-- INDENTATION -->
|
|
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>
|
|
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
|
|
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>
|
|
90 |
</td>
|
|
91 |
<td width="0%">
|
|
92 |
</td>
|
|
93 |
<tr valign="top" align="left">
|
|
94 |
<td width="10%"></td>
|
|
95 |
<td width="3%">
|
|
96 |
|
|
97 |
<p><b>−h</b></p>
|
|
98 |
</td>
|
|
99 |
<td width="5%"></td>
|
|
100 |
<td width="80%">
|
|
101 |
|
|
102 |
<p>Set the horizontal sampling dimension to one of: 1, 2
|
|
103 |
(default), or 4.</p>
|
|
104 |
</td>
|
|
105 |
<td width="0%">
|
|
106 |
</td>
|
|
107 |
<tr valign="top" align="left">
|
|
108 |
<td width="10%"></td>
|
|
109 |
<td width="3%">
|
|
110 |
|
|
111 |
<p><b>−r</b></p>
|
|
112 |
</td>
|
|
113 |
<td width="5%"></td>
|
|
114 |
<td width="80%">
|
|
115 |
|
|
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>
|
|
119 |
</td>
|
|
120 |
<td width="0%">
|
|
121 |
</td>
|
|
122 |
<tr valign="top" align="left">
|
|
123 |
<td width="10%"></td>
|
|
124 |
<td width="3%">
|
|
125 |
|
|
126 |
<p><b>−v</b></p>
|
|
127 |
</td>
|
|
128 |
<td width="5%"></td>
|
|
129 |
<td width="80%">
|
|
130 |
|
|
131 |
<p>Set the vertical sampling dimension to one of: 1, 2
|
|
132 |
(default), or 4.</p>
|
|
133 |
</td>
|
|
134 |
<td width="0%">
|
|
135 |
</td>
|
|
136 |
</table>
|
|
137 |
<a name="SEE ALSO"></a>
|
|
138 |
<h2>SEE ALSO</h2>
|
|
139 |
<!-- INDENTATION -->
|
|
140 |
<table width="100%" border=0 rules="none" frame="void"
|
|
141 |
cols="2" cellspacing="0" cellpadding="0">
|
|
142 |
<tr valign="top" align="left">
|
|
143 |
<td width="8%"></td>
|
|
144 |
<td width="91%">
|
|
145 |
<p><b>tiffinfo</b>(1), <b>tiffcp</b>(1),
|
|
146 |
<b>libtiff</b>(3)</p>
|
|
147 |
<!-- INDENTATION -->
|
|
148 |
<p>Libtiff library home page:
|
|
149 |
<b>http://www.remotesensing.org/libtiff</b></p>
|
|
150 |
</td>
|
|
151 |
</table>
|
|
152 |
<hr>
|
|
153 |
</body>
|
|
154 |
</html>
|