]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/tiff2rgba.1
Don't use any icon for items inserted without one in wxMSW wxListCtrl.
[wxWidgets.git] / src / tiff / man / tiff2rgba.1
CommitLineData
8414a40c
VZ
1.\"
2.\" Copyright (c) 1988-1997 Sam Leffler
3.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
4.\"
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.
12.\"
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.
16.\"
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
22.\" OF THIS SOFTWARE.
23.\"
24.if n .po 0
25.TH TIFF2RGBA 1 "November 2, 2005" "libtiff"
26.SH NAME
27tiff2rgba \- convert a
28.SM TIFF
29image to RGBA color space
30.SH SYNOPSIS
31.B tiff2rgba
32[
80ed523f 33.I options
8414a40c
VZ
34]
35.I input.tif
36.I output.tif
37.SH DESCRIPTION
38.I Tiff2rgba
39converts a wide variety of TIFF images into an RGBA TIFF image. This
40includes the ability to translate different color spaces and photometric
41interpretation into RGBA, support for alpha blending, and translation
42of many different bit depths into a 32bit RGBA image.
43.P
44Internally this program is implemented using the
45.I TIFFReadRGBAImage()
46function, and it suffers any limitations of that image. This includes
47limited support for > 8 BitsPerSample images, and flaws with some
48esoteric combinations of BitsPerSample, photometric interpretation,
49block organization and planar configuration.
50.P
51The generated images are stripped images with four samples per pixel
80ed523f
VZ
52(red, green, blue and alpha) or if the
53.B \-n
54flag is used, three samples
8414a40c
VZ
55per pixel (red, green, and blue). The resulting images are always planar
56configuration contiguous. For this reason, this program is a useful utility
57for transform exotic TIFF files into a form ingestible by almost any TIFF
58supporting software.
59.SH OPTIONS
60.TP
61.B \-c
62Specify a compression scheme to use when writing image data:
63.B "\-c none"
64for no compression (the default),
80ed523f 65.B "\-c packbits"
8414a40c 66for the PackBits compression algorithm,
80ed523f 67.B "\-c zip"
8414a40c 68for the Deflate compression algorithm,
80ed523f 69.B "\-c jpeg"
8414a40c
VZ
70for the JPEG compression algorithm,
71and
72.B "\-c lzw"
73for Lempel-Ziv & Welch.
74.TP
75.B \-r
76Write data with a specified number of rows per strip;
77by default the number of rows/strip is selected so that each strip
78is approximately 8 kilobytes.
79.TP
80.B \-b
81Process the image one block (strip/tile) at a time instead of by reading
82the whole image into memory at once. This may be necessary for very large
83images on systems with limited RAM.
84.TP
85.B \-n
86Drop the alpha component from the output file, producing a pure RGB file.
80ed523f
VZ
87Currently this does not work if the
88.B \-b
89flag is also in effect.
8414a40c
VZ
90.SH "SEE ALSO"
91.BR tiff2bw (1),
92.BR TIFFReadRGBAImage (3t),
93.BR libtiff (3)
94.PP
95Libtiff library home page:
96.BR http://www.remotesensing.org/libtiff/