Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/doc/tools/thumbnail.rst

raw
1 thumbnail
2 =========
3
4 .. program:: thumbnail
5
6 Synopsis
7 --------
8
9 **thumbnail** [ *options* ] *input.tif* *output.tif*
10
11 Description
12 -----------
13
14 :program:`thumbnail` is a program written to show how one might use the
15 ``SubIFD`` tag (#330) to store thumbnail images.
16 :program:`thumbnail`
17 copies a TIFF Class F facsimile file to the output file
18 and for each image an 8-bit greyscale "thumbnail sketch" is created.
19 The output file contains the thumbnail image with the associated
20 full-resolution page linked below with the SubIFD tag.
21
22 By default, thumbnail images are 216 pixels wide by 274 pixels high.
23 Pixels are calculated by sampling and filtering the input image
24 with each pixel value passed through a contrast curve.
25
26 Options
27 -------
28
29 .. option:: -w width
30
31 Specify the width of thumbnail images in pixels.
32
33 .. option:: -h height
34
35 Specify the height of thumbnail images in pixels.
36
37 .. option:: -c contrast
38
39 Specify a contrast curve to apply in generating the thumbnail images.
40 By default pixels values are passed through a linear contrast curve
41 that simply maps the pixel value ranges. Alternative curves are:
42
43 ====== ======================
44 Curve Description
45 ====== ======================
46 exp50 50% exponential curve
47 exp60 60% exponential curve
48 exp70 70% exponential curve
49 exp80 80% exponential curve
50 exp90 90% exponential curve
51 exp pure exponential curve
52 linear linear curve
53 ====== ======================
54
55 Bugs
56 ----
57
58 There are no options to control the format of the saved thumbnail images.
59
60 See also
61 --------
62
63 :doc:`tiffdump` (1),
64 :doc:`tiffgt` (1),
65 :doc:`tiffinfo` (1),
66 :doc:`/functions/libtiff` (3tiff),