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 im‐
13       age.  This includes the ability to translate different color spaces and
14       photometric  interpretation  into RGBA, support for alpha blending, and
15       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  ap‐
39              proximately 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
49       -M size
50              Set  maximum  memory  allocation  size  (in MiB). The default is
51              256MiB.  Set to 0 to disable the limit.
52

SEE ALSO

54       tiff2bw(1), TIFFReadRGBAImage(3t), libtiff(3)
55
56       Libtiff library home page: http://www.simplesystems.org/libtiff/
57
58
59
60libtiff                        November 2, 2005                   TIFF2RGBA(1)
Impressum