Blame man/thumbnail.1

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