]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/tiffsv.1
Fix horizontal mouse wheel scrolling in wxGTK.
[wxWidgets.git] / src / tiff / man / tiffsv.1
CommitLineData
8414a40c
VZ
1.\"
2.\" Copyright (c) 1988-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 TIFFSV 1 "September 20, 2005" "libtiff"
26.SH NAME
27tiffsv \- save an image from the framebuffer in a
28.SM TIFF
29file (Silicon Graphics version)
30.SH SYNOPSIS
31.B tiffsv
32[
33.I options
34]
35.I output.tif
36[
37.I "x1 x2 y1 y2"
38]
39.SH DESCRIPTION
40.I tiffsv
41saves all or part of the framebuffer in a file using the
42Tag Image File Format, Revision 6.0.
43By default, the image is saved with data samples packed (\c
44.IR PlanarConfiguration =1),
45compressed with the Lempel-Ziv & Welch algorithm (\c
46.IR Compression =5),
47and with each strip no more than 8 kilobytes.
48These characteristics can be overridden, or explicitly specified
49with the options described below.
50.SH OPTIONS
51.TP
52.B \-b
53Save the image as a greyscale image
54as if it were processed by
55.IR tiff2bw (1).
56This option is included for compatibility with the standard
57.IR scrsave (6D)
58program.
59.TP
60.B \-c
61Specify the compression to use for data written to the output file:
62.B none
63for no compression,
64.B packbits
65for PackBits compression,
66.B jpeg
67for baseline JPEG compression,
68.B zip
69for Deflate compression,
70and
71.B lzw
72for Lempel-Ziv & Welch compression (default).
73.IP
74.SM LZW
75compression can be specified together with a
76.I predictor
77value.
78A predictor value of 2 causes
79each scanline of the output image to undergo horizontal
80differencing before it is encoded; a value
81of 1 forces each scanline to be encoded without differencing.
82LZW-specific options are specified by appending a ``:''-separated
83list to the ``lzw'' option; e.g.
84.B "\-c lzw:2"
85for
86.SM LZW
87compression with horizontal differencing.
88.TP
89.B \-p
90Specify the planar configuration to use in writing image data.
91By default,
92.I tiffsv
93will create a new file with the data samples packed contiguously.
94Specifying
95.B "\-p contig"
96will force data to be written with multi-sample data packed
97together, while
98.B "\-p separate"
99will force samples to be written in separate planes.
100.TP
101.B \-r
102Specify the number of rows (scanlines) in each strip of data
103written to the output file.
104By default,
105.I tiffsv
106attempts to set the rows/strip
107that no more than 8 kilobytes of data appear in a strip.
108.SH NOTE
109Except for the use of
110.SM TIFF,
111this program is equivalent to the standard
112.I scrsave
113program.
114This means, for example, that you can use it in conjunction with
115the standard
116.IR icut
117program simply by creating a link called
118.IR scrsave ,
119or by creating a shell script called
120.I scrsave
121that invokes
122.I tiffgt
123with the appropriate options.
124.SH BUGS
125If data are saved compressed and in separate planes, then the
126rows in each strip is silently set to one to avoid limitations
127in the
128.BR libtiff (3TIFF)
129library.
130.SH "SEE ALSO"
131.BR scrsave (6D)
132.BR pal2rgb (1),
133.BR tiffdump (1),
134.BR tiffgt (1),
135.BR tiffinfo (1),
136.BR tiffcp (1),
137.BR tiffmedian (1),
138.BR libtiff (3TIFF)
139.PP
140Libtiff library home page:
141.BR http://www.remotesensing.org/libtiff/