2 .\" Copyright (c) 1988-1997 Sam Leffler
3 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 .TH TIFF2RGBA 1 "November 2, 2005" "libtiff"
27 tiff2rgba \- convert a
29 image to RGBA color space
39 converts a wide variety of TIFF images into an RGBA TIFF image. This
40 includes the ability to translate different color spaces and photometric
41 interpretation into RGBA, support for alpha blending, and translation
42 of many different bit depths into a 32bit RGBA image.
44 Internally this program is implemented using the
45 .I TIFFReadRGBAImage()
46 function, and it suffers any limitations of that image. This includes
47 limited support for > 8 BitsPerSample images, and flaws with some
48 esoteric combinations of BitsPerSample, photometric interpretation,
49 block organization and planar configuration.
51 The generated images are stripped images with four samples per pixel
52 (red, green, blue and alpha) or if the
54 flag is used, three samples
55 per pixel (red, green, and blue). The resulting images are always planar
56 configuration contiguous. For this reason, this program is a useful utility
57 for transform exotic TIFF files into a form ingestible by almost any TIFF
62 Specify a compression scheme to use when writing image data:
64 for no compression (the default),
66 for the PackBits compression algorithm,
68 for the Deflate compression algorithm,
70 for the JPEG compression algorithm,
73 for Lempel-Ziv & Welch.
76 Write data with a specified number of rows per strip;
77 by default the number of rows/strip is selected so that each strip
78 is approximately 8 kilobytes.
81 Process the image one block (strip/tile) at a time instead of by reading
82 the whole image into memory at once. This may be necessary for very large
83 images on systems with limited RAM.
86 Drop the alpha component from the output file, producing a pure RGB file.
87 Currently this does not work if the
89 flag is also in effect.
92 .BR TIFFReadRGBAImage (3t),
95 Libtiff library home page:
96 .BR http://www.remotesensing.org/libtiff/