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