Blame man/tiffsv.1

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