]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/ras2tiff.1
The alignment controls are now left-aligned if the floating controls are not shown.
[wxWidgets.git] / src / tiff / man / ras2tiff.1
CommitLineData
8414a40c
VZ
1.\"
2.\" Copyright (c) 1990-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 RAS2TIFF 1 "November 2, 2005" "libtiff"
26.SH NAME
27ras2tiff \- create a
28.SM TIFF
29file from a Sun rasterfile
30.SH SYNOPSIS
31.B ras2tiff
32[
33.I options
34]
35.I input.ras
36.I output.tif
37.SH DESCRIPTION
38.I ras2tiff
39converts a file in the Sun rasterfile format to
40.SM TIFF.
41By default, the
42.SM TIFF
43image is created with data samples packed (\c
44.IR PlanarConfiguration =1),
45compressed with the Lempel-Ziv & Welch algorithm (\c
46.IR Compression =5),
47and with each strip no more than 8 kilobytes.
48These characteristics can overridden, or explicitly specified
49with the options described below.
50.PP
51Any colormap information in the rasterfile is carried over to the
52.SM TIFF
53file by including a
54.I Colormap
55tag in the output file.
56If the rasterfile has a colormap, the
57.I PhotometricInterpretation
58tag is set to 3 (palette);
59otherwise it is set to 2 (RGB) if the depth
60is 24 or 1 (min-is-black) if the depth is not 24.
61.SH OPTIONS
62.TP
63.B \-c
64Specify a compression scheme to use when writing image data:
65.B "\-c none"
66for no compression,
80ed523f 67.B "\-c packbits"
8414a40c 68for the PackBits compression algorithm,
80ed523f 69.B "\-c jpeg"
8414a40c 70for the baseline JPEG compression algorithm,
80ed523f 71.B "\-c zip
8414a40c
VZ
72for the Deflate compression algorithm,
73and
74.B "\-c lzw"
75for Lempel-Ziv & Welch (the default).
76.TP
77.B \-r
78Write data with a specified number of rows per strip;
79by default the number of rows/strip is selected so that each strip
80is approximately 8 kilobytes.
81.SH BUGS
82Does not handle all possible rasterfiles.
83In particular,
84.I ras2tiff
85does not handle run-length encoded images.
86.SH "SEE ALSO"
87.BR pal2rgb (1),
88.BR tiffinfo (1),
89.BR tiffcp (1),
90.BR tiffmedian (1),
91.BR libtiff (3)
92.PP
93Libtiff library home page:
94.BR http://www.remotesensing.org/libtiff/
95