carta
thumbnail(1)

thumbnail1

Create a tiff file with thumbnail images

Usage

thumbnail [options] input.tif output.tif

Overview

thumbnail is a program written to show how one might use the SubIFD tag (#330) to store thumbnail images. thumbnail copies a TIFF Class F facsimile file to the output file and for each image an 8-bit greyscale "thumbnail sketch" is created. The output file contains the thumbnail image with the associated full-resolution page linked below with the SubIFD tag.

By default, thumbnail images are 216 pixels wide by 274 pixels high. Pixels are calculated by sampling and filtering the input image with each pixel value passed through a contrast curve.

Options

-w width

Specify the width of thumbnail images in pixels.

-h height

Specify the height of thumbnail images in pixels.

-c contrast

Specify a contrast curve to apply in generating the thumbnail images. By default pixels values are passed through a linear contrast curve that simply maps the pixel value ranges. Alternative curves are:

CurveDescription
exp5050% exponential curve
exp6060% exponential curve
exp7070% exponential curve
exp8080% exponential curve
exp9090% exponential curve
exppure exponential curve
linearlinear curve

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze) to Debian 4.0 (Etch)
  • Debian 3.1 (Sarge)
  • Debian 3.0 (Woody) to Debian 2.2 (Potato)
  • Debian 2.1 (Slink) to Debian 2.0 (Hamm)
  • Debian 1.3 (Bo) to Debian 1.2 (Rex)

Bugs

There are no options to control the format of the saved thumbnail images.

Author

LibTIFF contributors

From libtiff-tools 4.7.0-3+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.