MAN Solaris - rgb2ycbcr (1)

advertisement


NAME

rgb2ycbcr - convert non-YCbCr TIFF images to YCbCr TIFF images

CONTENTS

SYNOPSIS

rgb2ycbcr [options] src1.tif [src2.tif...] dest.tif

advertisements

advertisements


DESCRIPTION

rgb2ycbcr converts RGB color, grayscale, or bi-level TIFF images to YCbCr images by transforming and sampling pixel data. If multiple files are specified on the command line, each source file is converted to a separate directory in the destination file.

By default, chrominance samples are created by sampling 2 by 2 blocks of luminance values, and output data files are compressed with the LZW compression scheme, with each strip no more than 8 kilobytes. These characteristics can be overridden or explicitly specified with the options described below.

OPTIONS

The following options are supported:

-c Specify a compression scheme to use when writing image data:

-c jpeg Baseline JPEG compression algorithm.

-c lzw Lempel-Ziv and Welch algorithm. This is the default algorithm.

-c none No compression.

-c packbits PackBits compression algorithm.

-h Set the horizontal sampling dimension to one of the following: 1, 2, or 4. The default value is 2.

-r Write data with a specified number of rows per strip. By default, the number of rows per strip is selected so that each strip is approximately 8 kilobytes.

-v Set the vertical sampling dimension to one of the following: 1, 2, or 4. The default value is 2.

OPERANDS

The following operands are supported:

src.tif The name of the input file that contains non-YCbCr TIFF data.

dest.tif The name of the output file that contains YCbCr TIFF data.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWTiff
Interface stabilityEvolving

SEE ALSO

tiffinfo(1), tiffcp(1), libtiff(3)

NOTES

Updated by Breda McColgan, Sun Microsystems Inc., 2004.

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 rgb2ycbcr (1) 26 Mar 2004
Generated by Open Solaris Forum from /usr/share/man/man1/rgb2ycbcr.1 using man macros with tbl support.