]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/thumbnail.1
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / tiff / man / thumbnail.1
CommitLineData
8414a40c
VZ
1.\"
2.\" Copyright (c) 1994-1997 Sam Leffler
3.\" Copyright (c) 1994-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 THUMBNAIL 1 "November 2, 2005" "libtiff"
26.SH NAME
27thumbnail \- create a
28.SM TIFF
29file with thumbnail images
30.SH SYNOPSIS
31.B thumbnail
32[
33.I options
34]
35.I input.tif
36.I output.tif
37.SH DESCRIPTION
38.I thumbnail
39is a program written to show how one might use the
40SubIFD tag (#330) to store thumbnail images.
41.I thumbnail
42copies a
43.SM TIFF
44Class F facsimile file to the output file
45and for each image an 8-bit greyscale
46.IR "thumbnail sketch" .
47The output file contains the thumbnail image with the associated
48full-resolution page linked below with the SubIFD tag.
49.PP
50By default, thumbnail images are 216 pixels wide by 274 pixels high.
51Pixels are calculated by sampling and filtering the input image
52with each pixel value passed through a contrast curve.
53.SH OPTIONS
54.TP
55.B \-w
56Specify the width of thumbnail images in pixels.
57.TP
58.B \-h
59Specify the height of thumbnail images in pixels.
60.TP
61.B \-c
62Specify a contrast curve to apply in generating the thumbnail images.
63By default pixels values are passed through a linear contrast curve
64that simply maps the pixel value ranges.
65Alternative curves are:
66.B exp50
67for a 50% exponential curve,
68.B exp60
69for a 60% exponential curve,
70.B exp70
71for a 70% exponential curve,
72.B exp80
73for a 80% exponential curve,
74.B exp90
75for a 90% exponential curve,
76.B exp
77for a pure exponential curve,
78.B linear
79for a linear curve.
80.SH BUGS
81There are no options to control the format of the saved thumbnail images.
82.SH "SEE ALSO"
83.BR tiffdump (1),
84.BR tiffgt (1),
85.BR tiffinfo (1),
86.BR libtiff (3)
87.PP
88Libtiff library home page:
89.BR http://www.remotesensing.org/libtiff/