]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/ras2tiff.1
Allow 2-step creation of wxGenericProgressDialog.
[wxWidgets.git] / src / tiff / man / ras2tiff.1
CommitLineData
8414a40c
VZ
1.\" $Id: ras2tiff.1,v 1.3 2005/11/02 11:07:19 dron Exp $
2.\"
3.\" Copyright (c) 1990-1997 Sam Leffler
4.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5.\"
6.\" Permission to use, copy, modify, distribute, and sell this software and
7.\" its documentation for any purpose is hereby granted without fee, provided
8.\" that (i) the above copyright notices and this permission notice appear in
9.\" all copies of the software and related documentation, and (ii) the names of
10.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11.\" publicity relating to the software without the specific, prior written
12.\" permission of Sam Leffler and Silicon Graphics.
13.\"
14.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17.\"
18.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
23.\" OF THIS SOFTWARE.
24.\"
25.if n .po 0
26.TH RAS2TIFF 1 "November 2, 2005" "libtiff"
27.SH NAME
28ras2tiff \- create a
29.SM TIFF
30file from a Sun rasterfile
31.SH SYNOPSIS
32.B ras2tiff
33[
34.I options
35]
36.I input.ras
37.I output.tif
38.SH DESCRIPTION
39.I ras2tiff
40converts a file in the Sun rasterfile format to
41.SM TIFF.
42By default, the
43.SM TIFF
44image is created with data samples packed (\c
45.IR PlanarConfiguration =1),
46compressed with the Lempel-Ziv & Welch algorithm (\c
47.IR Compression =5),
48and with each strip no more than 8 kilobytes.
49These characteristics can overridden, or explicitly specified
50with the options described below.
51.PP
52Any colormap information in the rasterfile is carried over to the
53.SM TIFF
54file by including a
55.I Colormap
56tag in the output file.
57If the rasterfile has a colormap, the
58.I PhotometricInterpretation
59tag is set to 3 (palette);
60otherwise it is set to 2 (RGB) if the depth
61is 24 or 1 (min-is-black) if the depth is not 24.
62.SH OPTIONS
63.TP
64.B \-c
65Specify a compression scheme to use when writing image data:
66.B "\-c none"
67for no compression,
68.B "-c packbits"
69for the PackBits compression algorithm,
70.B "-c jpeg"
71for the baseline JPEG compression algorithm,
72.B "-c zip
73for the Deflate compression algorithm,
74and
75.B "\-c lzw"
76for Lempel-Ziv & Welch (the default).
77.TP
78.B \-r
79Write data with a specified number of rows per strip;
80by default the number of rows/strip is selected so that each strip
81is approximately 8 kilobytes.
82.SH BUGS
83Does not handle all possible rasterfiles.
84In particular,
85.I ras2tiff
86does not handle run-length encoded images.
87.SH "SEE ALSO"
88.BR pal2rgb (1),
89.BR tiffinfo (1),
90.BR tiffcp (1),
91.BR tiffmedian (1),
92.BR libtiff (3)
93.PP
94Libtiff library home page:
95.BR http://www.remotesensing.org/libtiff/
96