1TIFF2RGBA(1)                General Commands Manual               TIFF2RGBA(1)
2
3
4

NAME

6       tiff2rgba - convert a TIFF image to RGBA color space
7

SYNOPSIS

9       tiff2rgba [ options ] input.tif output.tif
10

DESCRIPTION

12       Tiff2rgba  converts  a  wide  variety  of TIFF images into an RGBA TIFF
13       image.  This includes the ability to translate different  color  spaces
14       and  photometric  interpretation into RGBA, support for alpha blending,
15       and translation of many different bit depths into a 32bit RGBA image.
16
17       Internally this program is implemented  using  the  TIFFReadRGBAImage()
18       function,  and it suffers any limitations of that image.  This includes
19       limited support for > 8 BitsPerSample images, and flaws with some  eso‐
20       teric  combinations of BitsPerSample, photometric interpretation, block
21       organization and planar configuration.
22
23       The generated images are stripped images with four  samples  per  pixel
24       (red,  green,  blue and alpha) or if the -n flag is used, three samples
25       per pixel (red, green, and blue).  The resulting images are always pla‐
26       nar  configuration contiguous.  For this reason, this program is a use‐
27       ful utility for transform exotic TIFF files into a form  ingestible  by
28       almost any TIFF supporting software.
29

OPTIONS

31       -c     Specify  a compression scheme to use when writing image data: -c
32              none for no compression (the default), -c packbits for the Pack‐
33              Bits  compression  algorithm, -c zip for the Deflate compression
34              algorithm, -c jpeg for the JPEG compression  algorithm,  and  -c
35              lzw for Lempel-Ziv & Welch.
36
37       -r     Write data with a specified number of rows per strip; by default
38              the number of rows/strip is  selected  so  that  each  strip  is
39              approximately 8 kilobytes.
40
41       -b     Process the image one block (strip/tile) at a time instead of by
42              reading the whole image into memory at once.  This may be neces‐
43              sary for very large images on systems with limited RAM.
44
45       -n     Drop  the alpha component from the output file, producing a pure
46              RGB file.  Currently this does not work if the -b flag  is  also
47              in effect.
48

SEE ALSO

50       tiff2bw(1), TIFFReadRGBAImage(3t), libtiff(3)
51
52       Libtiff library home page: http://www.simplesystems.org/libtiff/
53
54
55
56libtiff                        November 2, 2005                   TIFF2RGBA(1)
Impressum