|
kusano |
7d535a |
.\" $Id: tiffsv.1,v 1.3 2005-11-02 11:07:19 dron Exp $
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" Copyright (c) 1988-1997 Sam Leffler
|
|
kusano |
7d535a |
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" Permission to use, copy, modify, distribute, and sell this software and
|
|
kusano |
7d535a |
.\" its documentation for any purpose is hereby granted without fee, provided
|
|
kusano |
7d535a |
.\" that (i) the above copyright notices and this permission notice appear in
|
|
kusano |
7d535a |
.\" all copies of the software and related documentation, and (ii) the names of
|
|
kusano |
7d535a |
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
kusano |
7d535a |
.\" publicity relating to the software without the specific, prior written
|
|
kusano |
7d535a |
.\" permission of Sam Leffler and Silicon Graphics.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
kusano |
7d535a |
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
kusano |
7d535a |
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
kusano |
7d535a |
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
kusano |
7d535a |
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
kusano |
7d535a |
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
kusano |
7d535a |
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
kusano |
7d535a |
.\" OF THIS SOFTWARE.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.if n .po 0
|
|
kusano |
7d535a |
.TH TIFFSV 1 "September 20, 2005" "libtiff"
|
|
kusano |
7d535a |
.SH NAME
|
|
kusano |
7d535a |
tiffsv \- save an image from the framebuffer in a
|
|
kusano |
7d535a |
.SM TIFF
|
|
kusano |
7d535a |
file (Silicon Graphics version)
|
|
kusano |
7d535a |
.SH SYNOPSIS
|
|
kusano |
7d535a |
.B tiffsv
|
|
kusano |
7d535a |
[
|
|
kusano |
7d535a |
.I options
|
|
kusano |
7d535a |
]
|
|
kusano |
7d535a |
.I output.tif
|
|
kusano |
7d535a |
[
|
|
kusano |
7d535a |
.I "x1 x2 y1 y2"
|
|
kusano |
7d535a |
]
|
|
kusano |
7d535a |
.SH DESCRIPTION
|
|
kusano |
7d535a |
.I tiffsv
|
|
kusano |
7d535a |
saves all or part of the framebuffer in a file using the
|
|
kusano |
7d535a |
Tag Image File Format, Revision 6.0.
|
|
kusano |
7d535a |
By default, the image is saved with data samples packed (\c
|
|
kusano |
7d535a |
.IR PlanarConfiguration =1),
|
|
kusano |
7d535a |
compressed with the Lempel-Ziv & Welch algorithm (\c
|
|
kusano |
7d535a |
.IR Compression =5),
|
|
kusano |
7d535a |
and with each strip no more than 8 kilobytes.
|
|
kusano |
7d535a |
These characteristics can be overridden, or explicitly specified
|
|
kusano |
7d535a |
with the options described below.
|
|
kusano |
7d535a |
.SH OPTIONS
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-b
|
|
kusano |
7d535a |
Save the image as a greyscale image
|
|
kusano |
7d535a |
as if it were processed by
|
|
kusano |
7d535a |
.IR tiff2bw (1).
|
|
kusano |
7d535a |
This option is included for compatibility with the standard
|
|
kusano |
7d535a |
.IR scrsave (6D)
|
|
kusano |
7d535a |
program.
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-c
|
|
kusano |
7d535a |
Specify the compression to use for data written to the output file:
|
|
kusano |
7d535a |
.B none
|
|
kusano |
7d535a |
for no compression,
|
|
kusano |
7d535a |
.B packbits
|
|
kusano |
7d535a |
for PackBits compression,
|
|
kusano |
7d535a |
.B jpeg
|
|
kusano |
7d535a |
for baseline JPEG compression,
|
|
kusano |
7d535a |
.B zip
|
|
kusano |
7d535a |
for Deflate compression,
|
|
kusano |
7d535a |
and
|
|
kusano |
7d535a |
.B lzw
|
|
kusano |
7d535a |
for Lempel-Ziv & Welch compression (default).
|
|
kusano |
7d535a |
.IP
|
|
kusano |
7d535a |
.SM LZW
|
|
kusano |
7d535a |
compression can be specified together with a
|
|
kusano |
7d535a |
.I predictor
|
|
kusano |
7d535a |
value.
|
|
kusano |
7d535a |
A predictor value of 2 causes
|
|
kusano |
7d535a |
each scanline of the output image to undergo horizontal
|
|
kusano |
7d535a |
differencing before it is encoded; a value
|
|
kusano |
7d535a |
of 1 forces each scanline to be encoded without differencing.
|
|
kusano |
7d535a |
LZW-specific options are specified by appending a ``:''-separated
|
|
kusano |
7d535a |
list to the ``lzw'' option; e.g.
|
|
kusano |
7d535a |
.B "\-c lzw:2"
|
|
kusano |
7d535a |
for
|
|
kusano |
7d535a |
.SM LZW
|
|
kusano |
7d535a |
compression with horizontal differencing.
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-p
|
|
kusano |
7d535a |
Specify the planar configuration to use in writing image data.
|
|
kusano |
7d535a |
By default,
|
|
kusano |
7d535a |
.I tiffsv
|
|
kusano |
7d535a |
will create a new file with the data samples packed contiguously.
|
|
kusano |
7d535a |
Specifying
|
|
kusano |
7d535a |
.B "\-p contig"
|
|
kusano |
7d535a |
will force data to be written with multi-sample data packed
|
|
kusano |
7d535a |
together, while
|
|
kusano |
7d535a |
.B "\-p separate"
|
|
kusano |
7d535a |
will force samples to be written in separate planes.
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-r
|
|
kusano |
7d535a |
Specify the number of rows (scanlines) in each strip of data
|
|
kusano |
7d535a |
written to the output file.
|
|
kusano |
7d535a |
By default,
|
|
kusano |
7d535a |
.I tiffsv
|
|
kusano |
7d535a |
attempts to set the rows/strip
|
|
kusano |
7d535a |
that no more than 8 kilobytes of data appear in a strip.
|
|
kusano |
7d535a |
.SH NOTE
|
|
kusano |
7d535a |
Except for the use of
|
|
kusano |
7d535a |
.SM TIFF,
|
|
kusano |
7d535a |
this program is equivalent to the standard
|
|
kusano |
7d535a |
.I scrsave
|
|
kusano |
7d535a |
program.
|
|
kusano |
7d535a |
This means, for example, that you can use it in conjunction with
|
|
kusano |
7d535a |
the standard
|
|
kusano |
7d535a |
.IR icut
|
|
kusano |
7d535a |
program simply by creating a link called
|
|
kusano |
7d535a |
.IR scrsave ,
|
|
kusano |
7d535a |
or by creating a shell script called
|
|
kusano |
7d535a |
.I scrsave
|
|
kusano |
7d535a |
that invokes
|
|
kusano |
7d535a |
.I tiffgt
|
|
kusano |
7d535a |
with the appropriate options.
|
|
kusano |
7d535a |
.SH BUGS
|
|
kusano |
7d535a |
If data are saved compressed and in separate planes, then the
|
|
kusano |
7d535a |
rows in each strip is silently set to one to avoid limitations
|
|
kusano |
7d535a |
in the
|
|
kusano |
7d535a |
.BR libtiff (3TIFF)
|
|
kusano |
7d535a |
library.
|
|
kusano |
7d535a |
.SH "SEE ALSO"
|
|
kusano |
7d535a |
.BR scrsave (6D)
|
|
kusano |
7d535a |
.BR pal2rgb (1),
|
|
kusano |
7d535a |
.BR tiffdump (1),
|
|
kusano |
7d535a |
.BR tiffgt (1),
|
|
kusano |
7d535a |
.BR tiffinfo (1),
|
|
kusano |
7d535a |
.BR tiffcp (1),
|
|
kusano |
7d535a |
.BR tiffmedian (1),
|
|
kusano |
7d535a |
.BR libtiff (3TIFF)
|
|
kusano |
7d535a |
.PP
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
.BR http://www.remotesensing.org/libtiff/
|