Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tiff2rgba(1) [centos man page]

TIFF2RGBA(1)						      General Commands Manual						      TIFF2RGBA(1)

NAME
tiff2rgba - convert a TIFF image to RGBA color space SYNOPSIS
tiff2rgba [ options ] input.tif output.tif DESCRIPTION
Tiff2rgba converts a wide variety of TIFF images into an RGBA TIFF image. This includes the ability to translate different color spaces and photometric interpretation into RGBA, support for alpha blending, and translation of many different bit depths into a 32bit RGBA image. Internally this program is implemented using the TIFFReadRGBAImage() function, and it suffers any limitations of that image. This includes limited support for > 8 BitsPerSample images, and flaws with some esoteric combinations of BitsPerSample, photometric interpretation, block organization and planar configuration. The generated images are stripped images with four samples per pixel (red, green, blue and alpha) or if the -n flag is used, three samples per pixel (red, green, and blue). The resulting images are always planar configuration contiguous. For this reason, this program is a useful utility for transform exotic TIFF files into a form ingestible by almost any TIFF supporting software. OPTIONS
-c Specify a compression scheme to use when writing image data: -c none for no compression (the default), -c packbits for the PackBits compression algorithm, -c zip for the Deflate compression algorithm, -c jpeg for the JPEG compression algorithm, and -c lzw for Lem- pel-Ziv & Welch. -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. -b Process the image one block (strip/tile) at a time instead of by reading the whole image into memory at once. This may be necessary for very large images on systems with limited RAM. -n Drop the alpha component from the output file, producing a pure RGB file. Currently this does not work if the -b flag is also in effect. SEE ALSO
tiff2bw(1), TIFFReadRGBAImage(3t), libtiff(3) Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff November 2, 2005 TIFF2RGBA(1)

Check Out this Related Man Page

tiff2bw(1)							   User Commands							tiff2bw(1)

NAME
tiff2bw - convert a color TIFF image to grayscale SYNOPSIS
tiff2bw [options] input.tif output.tif DESCRIPTION
tiff2bw converts an RGB or palette color TIFF image to a grayscale image by combining percentages of the red, green, and blue channels. By default, output samples are created by taking 28% of the red channel, 59% of the green channel, and 11% of the blue channel. To alter these percentages, use the -R. -G, and -B options. OPTIONS
The following options are supported: -B Specify the percentage of the blue channel to use. The default value is 11. -c Specify a compression scheme to use when writing image data: -c g3 CCITT Group 3 compression algorithm. -c g4 CCITT Group 4 compression algorithm. -c lzw Lempel-Ziv and Welch algorithm. This is the default algorithm. -c none No compression. -c packbits PackBits compression algorithm. -c zip Deflate compression algorithm. -G Specify the percentage of the green channel to use. The default value is 59. -R Specify the percentage of the red channel to use. The default value is 28. -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. OPERANDS
The following operands are supported: input.tif The name of the input TIFF file. output.tif The name of the output file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWTiff | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
pal2rgb(1), tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3) NOTES
Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.11 26 Mar 2004 tiff2bw(1)
Man Page