Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / src / tiff / man / thumbnail.1
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
27 thumbnail \- create a
28 .SM TIFF
29 file 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
39 is a program written to show how one might use the
40 SubIFD tag (#330) to store thumbnail images.
41 .I thumbnail
42 copies a
43 .SM TIFF
44 Class F facsimile file to the output file
45 and for each image an 8-bit greyscale 
46 .IR "thumbnail sketch" .
47 The output file contains the thumbnail image with the associated
48 full-resolution page linked below with the SubIFD tag.
49 .PP
50 By default, thumbnail images are 216 pixels wide by 274 pixels high.
51 Pixels are calculated by sampling and filtering the input image
52 with each pixel value passed through a contrast curve.
53 .SH OPTIONS
54 .TP
55 .B \-w
56 Specify the width of thumbnail images in pixels.
57 .TP
58 .B \-h
59 Specify the height of thumbnail images in pixels.
60 .TP
61 .B \-c
62 Specify a contrast curve to apply in generating the thumbnail images.
63 By default pixels values are passed through a linear contrast curve
64 that simply maps the pixel value ranges.
65 Alternative curves are:
66 .B exp50
67 for a 50% exponential curve,
68 .B exp60
69 for a 60% exponential curve,
70 .B exp70
71 for a 70% exponential curve,
72 .B exp80
73 for a 80% exponential curve,
74 .B exp90
75 for a 90% exponential curve,
76 .B exp
77 for a pure exponential curve,
78 .B linear
79 for a linear curve.
80 .SH BUGS
81 There 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
88 Libtiff library home page:
89 .BR http://www.remotesensing.org/libtiff/