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