Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tiff2rgba(1) [debian 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

PAL2RGB(1)						      General Commands Manual							PAL2RGB(1)

NAME
pal2rgb - convert a palette color TIFF image to a full color image SYNOPSIS
pal2rgb [ options ] input.tif output.tif DESCRIPTION
Pal2rgb converts a palette color TIFF image to a full color image by applying the colormap of the palette image to each sample to generate a full color RGB image. OPTIONS
Options that affect the interpretation of input data are: -C This option overrides the default behavior of pal2rgb in determining whether or not colormap entries contain 16-bit or 8-bit values. By default the colormap is inspected and if no colormap entry greater than 255 is found, the colormap is assumed to have only 8-bit values; otherwise 16-bit values (as required by the TIFF specification) are assumed. The -C option can be used to explicitly spec- ify the number of bits for colormap entries: -C 8 for 8-bit values, -C 16 for 16-bit values. Options that affect the output file format are: -p Explicitly select the planar configuration used in organizing data samples in the output image: -p contig for samples packed con- tiguously, and -p separate for samples stored separately. By default samples are packed. -c Use the specific compression algorithm to encoded image data in the output file: -c packbits for Macintosh Packbits, -c lzw for Lem- pel-Ziv & Welch, -c zip for Deflate, -c none for no compression. If no compression-related option is specified, the input file's compression algorithm is used. -r Explicitly specify the number of rows in each strip of the output file. If the -r option is not specified, a number is selected such that each output strip has approximately 8 kilobytes of data in it. BUGS
Only 8-bit images are handled. SEE ALSO
tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3) Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff September 20, 2005 PAL2RGB(1)
Man Page