Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rgb2ycbcr(1) [redhat man page]

RGB2YCBCR(1)						      General Commands Manual						      RGB2YCBCR(1)

NAME
rgb2ycbcr - convert non-YCbCr TIFF images to a YCbCr TIFF image SYNOPSIS
rgb2ycbcr [ options ] src1.tif src2.tif ... dst.tif DESCRIPTION
rgb2ycbcr converts RGB color, greyscale, 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; this can be changed with the -h and -v options. Output data are compressed with the LZW compression scheme, by default; an alternate scheme can be selected with the -c option. By default, output data are compressed in strips with the number of rows in each strip selected so that the size of a strip is never more than 8 kilobytes; the -r option can be used to explicitly set the number of rows per strip. OPTIONS
-c Specify a compression scheme to use when writing image data: -c none for no compression, -c packbits for the PackBits compression algorithm, -c jpeg for the JPEG compression algorithm, and -c lzw for Lempel-Ziv & Welch (the default). -h Set the horizontal sampling dimension to one of: 1, 2 (default), or 4. -r Write data with a specified number of rows per strip; by default the number of rows/strip is selected so that each strip is approxi- mately 8 kilobytes. -v Set the vertical sampling dimension to one of: 1, 2 (default), or 4. SEE ALSO
tiffinfo(1), tiffcp(1), libtiff(3) October 15, 1995 RGB2YCBCR(1)

Check Out this Related Man Page

RGB2YCBCR(1)						      General Commands Manual						      RGB2YCBCR(1)

NAME
rgb2ycbcr - convert non-YCbCr TIFF images to a YCbCr TIFF image SYNOPSIS
rgb2ycbcr [ options ] src1.tif src2.tif ... dst.tif DESCRIPTION
rgb2ycbcr converts RGB color, greyscale, 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; this can be changed with the -h and -v options. Output data are compressed with the PackBits compression scheme, by default; an alternate scheme can be selected with the -c option. By default, output data are compressed in strips with the number of rows in each strip selected so that the size of a strip is never more than 8 kilobytes; the -r option can be used to explicitly set the number of rows per strip. OPTIONS
-c Specify a compression scheme to use when writing image data: -c none for no compression, -c packbits for the PackBits compression algorithm (the default), -c jpeg for the JPEG compression algorithm, -c zip for the deflate compression algorithm, and -c lzw for Lempel-Ziv & Welch. -h Set the horizontal sampling dimension to one of: 1, 2 (default), or 4. -r Write data with a specified number of rows per strip; by default the number of rows/strip is selected so that each strip is approxi- mately 8 kilobytes. -v Set the vertical sampling dimension to one of: 1, 2 (default), or 4. SEE ALSO
tiffinfo(1), tiffcp(1), libtiff(3) Libtiff library home page: http://www.remotesensing.org/libtiff libtiff November 2, 2005 RGB2YCBCR(1)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hcomp and Hdecomp..Urgent

Can anyone help me with hcomp and hdecomp compression with suitable images Urgently required (0 Replies)
Discussion started by: maverick_014u
0 Replies

2. Shell Programming and Scripting

alternate rows of a file

hi all is there any process in which i can get alternate rows of a file.i want to do further processing on those alternate rows.i want to select row1,row3,row5.... like this from a file. (3 Replies)
Discussion started by: dr46014
3 Replies

3. Shell Programming and Scripting

how to strip rows from a text file?

Can an expert kindly write an efficient Linux ksh script that will strip rows with no numbers from a text file? Supposing there are three rows that text file called text.txt : "field1","field2","field3",11,22,33,44 "field1","field2","field3",1,2,3,4 "field1","field2","field3",,,, The... (5 Replies)
Discussion started by: ihot
5 Replies

4. Shell Programming and Scripting

how to add if data in rows

Hi Friends, How to add if data is in different rows. Input: 1;20091102;20170930;-9.00;| 1;20091026;20170930;-2.00;| 1;20100720;20170930;-25.00;| 1;20090901;20211227;-10.00;| Output 9+2+25+10 = 46 Thx Suresh (4 Replies)
Discussion started by: suresh3566
4 Replies