|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
kusano |
7d535a |
<meta content="text/css" name="Content-Style">
|
|
kusano |
7d535a |
<title>RGB2YCBCR</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
RGB2YCBCR
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
OPTIONS
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
rgb2ycbcr − convert non-YCbCr <small>TIFF</small>
|
|
kusano |
7d535a |
images to a YCbCr <small>TIFF</small> image
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
rgb2ycbcr [ options ] src1.tif src2.tif
|
|
kusano |
7d535a |
... dst.tif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
rgb2ycbcr converts <small>RGB</small> color,
|
|
kusano |
7d535a |
greyscale, or bi-level <small>TIFF</small> images to YCbCr
|
|
kusano |
7d535a |
images by transforming and sampling pixel data. If multiple
|
|
kusano |
7d535a |
files are specified on the command line each source file is
|
|
kusano |
7d535a |
converted to a separate directory in the destination
|
|
kusano |
7d535a |
file.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
By default, chrominance samples are created by sampling 2
|
|
kusano |
7d535a |
by 2 blocks of luminance values; this can be changed with
|
|
kusano |
7d535a |
the −h and −v options. Output data
|
|
kusano |
7d535a |
are compressed with the <small>PackBits</small> compression
|
|
kusano |
7d535a |
scheme, by default; an alternate scheme can be selected with
|
|
kusano |
7d535a |
the −c option. By default, output data are
|
|
kusano |
7d535a |
compressed in strips with the number of rows in each strip
|
|
kusano |
7d535a |
selected so that the size of a strip is never more than 8
|
|
kusano |
7d535a |
kilobytes; the −r option can be used to
|
|
kusano |
7d535a |
explicitly set the number of rows per strip.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
OPTIONS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="5" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−c
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Specify a compression scheme to use when writing image
|
|
kusano |
7d535a |
data: −c none for no compression, −c
|
|
kusano |
7d535a |
packbits for the PackBits compression algorithm (the
|
|
kusano |
7d535a |
default), −c jpeg for the JPEG compression
|
|
kusano |
7d535a |
algorithm, −c zip for the deflate compression
|
|
kusano |
7d535a |
algorithm, and −c lzw for Lempel-Ziv &
|
|
kusano |
7d535a |
Welch.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−h
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Set the horizontal sampling dimension to one of: 1, 2
|
|
kusano |
7d535a |
(default), or 4.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−r
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Write data with a specified number of rows per strip; by
|
|
kusano |
7d535a |
default the number of rows/strip is selected so that each
|
|
kusano |
7d535a |
strip is approximately 8 kilobytes.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−v
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Set the vertical sampling dimension to one of: 1, 2
|
|
kusano |
7d535a |
(default), or 4.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tiffinfo(1), tiffcp(1),
|
|
kusano |
7d535a |
libtiff(3)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|