]>
Commit | Line | Data |
---|---|---|
1 | .\" $Id: sgi2tiff.1,v 1.4 2006-04-20 12:17:19 dron Exp $ | |
2 | .\" | |
3 | .\" Copyright (c) 1991-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 SGI2TIFF 1 "November 2, 2005" "libtiff" | |
27 | .SH NAME | |
28 | sgi2tiff \- create a | |
29 | .SM TIFF | |
30 | file from an | |
31 | .SM SGI | |
32 | image file | |
33 | .SH SYNOPSIS | |
34 | .B sgi2tiff | |
35 | [ | |
36 | .I options | |
37 | ] | |
38 | .I input.rgb | |
39 | .I output.tif | |
40 | .SH DESCRIPTION | |
41 | .I sgi2tiff | |
42 | converts a file in the | |
43 | .SM SGI | |
44 | image format to | |
45 | .SM TIFF. | |
46 | By default, the | |
47 | .SM TIFF | |
48 | image is created with data samples packed (\c | |
49 | .IR PlanarConfiguration =1), | |
50 | compressed with the Lempel-Ziv & Welch algorithm (\c | |
51 | .IR Compression =5), | |
52 | and with each strip no more than 8 kilobytes. | |
53 | These characteristics can overridden, or explicitly specified | |
54 | with the options described below. | |
55 | .SH OPTIONS | |
56 | .TP | |
57 | .B \-c | |
58 | Specify a compression scheme to use when writing image data: | |
59 | .B "\-c none" | |
60 | for no compression, | |
61 | .B "\-c packbits" | |
62 | for the PackBits compression algorithm), | |
63 | .B "\-c jpeg" | |
64 | for the baseline JPEG compression algorithm, | |
65 | .B "\-c zip | |
66 | for the Deflate compression algorithm, | |
67 | and | |
68 | .B "\-c lzw" | |
69 | for Lempel-Ziv & Welch (the default). | |
70 | .TP | |
71 | .B \-p | |
72 | Explicitly select the planar configuration used in organizing | |
73 | data samples in the output image: | |
74 | .B "\-p contig" | |
75 | for samples packed contiguously, and | |
76 | .B "\-p separate" | |
77 | for samples stored separately. | |
78 | By default samples are packed. | |
79 | .TP | |
80 | .B \-r | |
81 | Write data with a specified number of rows per strip; | |
82 | by default the number of rows/strip is selected so that each strip | |
83 | is approximately 8 kilobytes. | |
84 | .SH BUGS | |
85 | Does not record colormap information. | |
86 | .SH "SEE ALSO" | |
87 | .BR tiffinfo (1), | |
88 | .BR tiffcp (1), | |
89 | .BR tiffmedian (1), | |
90 | .BR libtiff (3) | |
91 | .PP | |
92 | Libtiff library home page: | |
93 | .BR http://www.remotesensing.org/libtiff/ |