THUMBNAIL(1)

πŸ’– THUMBNAIL(1) πŸ’–

okay bestie, gather round, because this is thumbnail from the LibTIFF crew and it is lowkey doing something iconic 🌸


✨ NAME ✨

thumbnail β€” create a TIFF file with thumbnail images πŸŽ€


✨ SYNOPSIS ✨

thumbnail [ options ] input.tif output.tif

✨ DESCRIPTION ✨

so basically, thumbnail is a program that exists to show you how someone might use the SubIFD tag (#330) to store thumbnail images. it's giving demo energy, but make it functional πŸ’…

what it actually does: thumbnail copies a TIFF Class F facsimile file over to the output file, and for each image it creates an 8-bit greyscale "thumbnail sketch" πŸ¦‹. the output file holds that thumbnail image, with the associated full-resolution page linked down below it using the SubIFD tag. no cap, that's the whole structure.

by default, thumbnail images are 216 pixels wide by 274 pixels high. and how do those pixels get made? they're 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 when generating the thumbnail images. by default, pixel values get passed through a linear contrast curve that just maps the pixel value ranges. the alternative curves are:
    • exp50 β€” 50% exponential curve
    • exp60 β€” 60% exponential curve
    • exp70 β€” 70% exponential curve
    • exp80 β€” 80% exponential curve
    • exp90 β€” 90% exponential curve
    • exp β€” pure exponential curve
    • linear β€” linear curve

πŸ’€ BUGS πŸ’€

not me having to report this, but… there are no options to control the format of the saved thumbnail images. that's it. that's the bug. πŸ™ˆ


🌈 SEE ALSO 🌈

tiffdump (1), tiffgt (1), tiffinfo (1), libtiff (3tiff),


πŸ‘‘ AUTHOR πŸ‘‘

LibTIFF contributors πŸ’œ


1988-2025, LibTIFF contributors


and that's the whole vibe check, bestie β€” this page is running version 4.7, dated Jun 27, 2026, and it lives under the name THUMBNAIL(1). go forth and thumbnail responsibly πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from