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