Blame man/thumbnail.1

Packit Service db44fb
.\"	$Id: thumbnail.1,v 1.2 2005/11/02 11:07:19 dron Exp $
Packit Service db44fb
.\"
Packit Service db44fb
.\" Copyright (c) 1994-1997 Sam Leffler
Packit Service db44fb
.\" Copyright (c) 1994-1997 Silicon Graphics, Inc.
Packit Service db44fb
.\"
Packit Service db44fb
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit Service db44fb
.\" its documentation for any purpose is hereby granted without fee, provided
Packit Service db44fb
.\" that (i) the above copyright notices and this permission notice appear in
Packit Service db44fb
.\" all copies of the software and related documentation, and (ii) the names of
Packit Service db44fb
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit Service db44fb
.\" publicity relating to the software without the specific, prior written
Packit Service db44fb
.\" permission of Sam Leffler and Silicon Graphics.
Packit Service db44fb
.\" 
Packit Service db44fb
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit Service db44fb
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit Service db44fb
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit Service db44fb
.\" 
Packit Service db44fb
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit Service db44fb
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit Service db44fb
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit Service db44fb
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit Service db44fb
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit Service db44fb
.\" OF THIS SOFTWARE.
Packit Service db44fb
.\"
Packit Service db44fb
.if n .po 0
Packit Service db44fb
.TH THUMBNAIL 1 "November 2, 2005" "libtiff"
Packit Service db44fb
.SH NAME
Packit Service db44fb
thumbnail \- create a
Packit Service db44fb
.SM TIFF
Packit Service db44fb
file with thumbnail images
Packit Service db44fb
.SH SYNOPSIS
Packit Service db44fb
.B thumbnail
Packit Service db44fb
[
Packit Service db44fb
.I options
Packit Service db44fb
]
Packit Service db44fb
.I input.tif
Packit Service db44fb
.I output.tif
Packit Service db44fb
.SH DESCRIPTION
Packit Service db44fb
.I thumbnail
Packit Service db44fb
is a program written to show how one might use the
Packit Service db44fb
SubIFD tag (#330) to store thumbnail images.
Packit Service db44fb
.I thumbnail
Packit Service db44fb
copies a
Packit Service db44fb
.SM TIFF
Packit Service db44fb
Class F facsimile file to the output file
Packit Service db44fb
and for each image an 8-bit greyscale 
Packit Service db44fb
.IR "thumbnail sketch" .
Packit Service db44fb
The output file contains the thumbnail image with the associated
Packit Service db44fb
full-resolution page linked below with the SubIFD tag.
Packit Service db44fb
.PP
Packit Service db44fb
By default, thumbnail images are 216 pixels wide by 274 pixels high.
Packit Service db44fb
Pixels are calculated by sampling and filtering the input image
Packit Service db44fb
with each pixel value passed through a contrast curve.
Packit Service db44fb
.SH OPTIONS
Packit Service db44fb
.TP
Packit Service db44fb
.B \-w
Packit Service db44fb
Specify the width of thumbnail images in pixels.
Packit Service db44fb
.TP
Packit Service db44fb
.B \-h
Packit Service db44fb
Specify the height of thumbnail images in pixels.
Packit Service db44fb
.TP
Packit Service db44fb
.B \-c
Packit Service db44fb
Specify a contrast curve to apply in generating the thumbnail images.
Packit Service db44fb
By default pixels values are passed through a linear contrast curve
Packit Service db44fb
that simply maps the pixel value ranges.
Packit Service db44fb
Alternative curves are:
Packit Service db44fb
.B exp50
Packit Service db44fb
for a 50% exponential curve,
Packit Service db44fb
.B exp60
Packit Service db44fb
for a 60% exponential curve,
Packit Service db44fb
.B exp70
Packit Service db44fb
for a 70% exponential curve,
Packit Service db44fb
.B exp80
Packit Service db44fb
for a 80% exponential curve,
Packit Service db44fb
.B exp90
Packit Service db44fb
for a 90% exponential curve,
Packit Service db44fb
.B exp
Packit Service db44fb
for a pure exponential curve,
Packit Service db44fb
.B linear
Packit Service db44fb
for a linear curve.
Packit Service db44fb
.SH BUGS
Packit Service db44fb
There are no options to control the format of the saved thumbnail images.
Packit Service db44fb
.SH "SEE ALSO"
Packit Service db44fb
.BR tiffdump (1),
Packit Service db44fb
.BR tiffgt (1),
Packit Service db44fb
.BR tiffinfo (1),
Packit Service db44fb
.BR libtiff (3)
Packit Service db44fb
.PP
Packit Service db44fb
Libtiff library home page:
Packit Service db44fb
.BR http://www.remotesensing.org/libtiff/