xref: /libtiff-4.0.7/html/man/thumbnail.1.html (revision e49fae91)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<HTML><HEAD><TITLE>Manpage of THUMBNAIL</TITLE>
3</HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial">
4<H1>THUMBNAIL</H1>
5Section: User Commands  (1)<BR>Updated: September 26, 1994<BR><A HREF="#index">Index</A>
6<BR><A HREF="index.html">Return to Main Contents</A>
7<HR>
8
9<A NAME="lbAB">&nbsp;</A>
10<H2>NAME</H2>
11
12thumbnail - create a
13<FONT SIZE="-1">TIFF</FONT>
14file with thumbnail images
15<A NAME="lbAC">&nbsp;</A>
16<H2>SYNOPSIS</H2>
17
18<B>thumbnail</B>
19
20[
21<I>options</I>
22
23]
24<I>input.tif</I>
25
26<I>output.tif</I>
27
28<A NAME="lbAD">&nbsp;</A>
29<H2>DESCRIPTION</H2>
30
31<I>thumbnail</I>
32
33is a program written to show how one might use the
34SubIFD tag (#330) to store thumbnail images.
35<I>thumbnail</I>
36
37copies a
38<FONT SIZE="-1">TIFF</FONT>
39Class F facsimile file to the output file
40and for each image an 8-bit greyscale
41<I>thumbnail sketch</I>.
42
43The output file contains the thumbnail image with the associated
44full-resolution page linked below with the SubIFD tag.
45<P>
46
47By default, thumbnail images are 216 pixels wide by 274 pixels high.
48Pixels are calculated by sampling and filtering the input image
49with each pixel value passed through a contrast curve.
50<A NAME="lbAE">&nbsp;</A>
51<H2>OPTIONS</H2>
52
53<DL COMPACT>
54<DT><B>-w</B>
55
56<DD>
57Specify the width of thumbnail images in pixels.
58<DT><B>-h</B>
59
60<DD>
61Specify the height of thumbnail images in pixels.
62<DT><B>-c</B>
63
64<DD>
65Specify a contrast curve to apply in generating the thumbnail images.
66By default pixels values are passed through a linear contrast curve
67that simply maps the pixel value ranges.
68Alternative curves are:
69<B>exp50</B>
70
71for a 50% exponential curve,
72<B>exp60</B>
73
74for a 60% exponential curve,
75<B>exp70</B>
76
77for a 70% exponential curve,
78<B>exp80</B>
79
80for a 80% exponential curve,
81<B>exp90</B>
82
83for a 90% exponential curve,
84<B>exp</B>
85
86for a pure exponential curve,
87<B>linear</B>
88
89for a linear curve.
90</DL>
91<A NAME="lbAF">&nbsp;</A>
92<H2>BUGS</H2>
93
94There are no options to control the format of the saved thumbnail images.
95<A NAME="lbAG">&nbsp;</A>
96<H2>SEE ALSO</H2>
97
98<I><A HREF="tiffdump+1.html">tiffdump</A></I>(1),
99
100<I><A HREF="tiffgt+1.html">tiffgt</A></I>(1),
101
102<I><A HREF="tiffinfo+1.html">tiffinfo</A></I>(1),
103
104<I><A HREF="libtiff+3">libtiff</A></I>(3)
105
106
107<HR>
108<A NAME="index">&nbsp;</A><H2>Index</H2>
109<DL>
110<DT><A HREF="#lbAB">NAME</A><DD>
111<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
112<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
113<DT><A HREF="#lbAE">OPTIONS</A><DD>
114<DT><A HREF="#lbAF">BUGS</A><DD>
115<DT><A HREF="#lbAG">SEE ALSO</A><DD>
116</DL>
117<HR>
118This document was created by
119<A HREF="index.html">man2html</A>,
120using the manual pages.<BR>
121Time: 01:31:47 GMT, November 23, 1999
122</BODY>
123</HTML>
124