<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2003/085 libtiff, libjpeg, and libpng-->
<!ENTITY cmd "thumbnail">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="thumbnail-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>thumbnail</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">26 Mar 2004</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>thumbnail</primary></indexterm><indexterm><primary>create
a TIFF file with thumbnail images</primary></indexterm>
<refnamediv id="thumbnail-1-name"><refname>thumbnail</refname><refpurpose>
create a TIFF file with thumbnail images</refpurpose></refnamediv>
<refsynopsisdiv id="thumbnail-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command><arg choice="opt"><option role="nodash"><replaceable>
options</replaceable></option></arg><arg choice="plain"><option role="nodash"><replaceable>
input.tif</replaceable></option></arg><arg choice="plain"><option role="nodash"><replaceable>
output.tif</replaceable></option></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1 id="thumbnail-1-desc"><title>&desc-tt;</title>
<para>The <command>&cmd;</command> command shows how to use the SubIFD tag
(#330) to store thumbnail images. <command>&cmd;</command> copies a TIFF Class
F facsimile file to the output file and, for each image, an 8-bit grayscale
thumbnail sketch. The output file contains the thumbnail image with the associated
full-resolution page linked below with the SubIFD tag.</para>
<para>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.</para>
</refsect1>
<refsect1 id="thumbnail-1-opts"><title>&opts-tt;</title>
<para>The following options are supported:</para>
<variablelist termlength="narrow">
<varlistentry><term><option>c</option></term><listitem><para>Specify a contrast
curve to apply when generating the thumbnail images. By default, pixel values
are passed through a linear contrast curve that simply maps the pixel value
ranges. Alternative curves are as follows:</para>
<variablelist>
<varlistentry><term>exp50</term><listitem><para>50% exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>exp60</term><listitem><para>60% exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>exp70</term><listitem><para>70% exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>exp80</term><listitem><para>80% exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>exp90</term><listitem><para>90% exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>exp</term><listitem><para>pure exponential curve</para>
</listitem></varlistentry>
<varlistentry><term>linear</term><listitem><para>linear curve</para>
</listitem></varlistentry>
</variablelist></listitem></varlistentry>
<varlistentry><term><option>h</option></term><listitem><para>Specify the height
of thumbnail images in pixels.</para>
</listitem></varlistentry>
<varlistentry><term><option>w</option></term><listitem><para>Specify the width
of thumbnail images in pixels.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="thumbnail-1-oper"><title>&oper-tt;</title>
<para>The following operands are supported:</para>
<variablelist termlength="narrow">
<varlistentry><term><option role="nodash"><replaceable>input.tif</replaceable></option></term>
<listitem><para>The name of the input TIFF file.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash"><replaceable>output.tif</replaceable></option></term>
<listitem><para>The name of the output file.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="thumbnail-1-attr"><title>&attr-tt;</title>
<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row><entry><para>Availability</para></entry><entry><para>image/library/libtiff</para></entry>
</row>
<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
colname="COLSPEC1"><para>Uncommitted</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="thumbnail-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para><citerefentry><refentrytitle>tiffdump</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>, <citerefentry><refentrytitle>tiffgt</refentrytitle><manvolnum>
1</manvolnum></citerefentry>, <citerefentry><refentrytitle>tiffinfo</refentrytitle>
<manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>libtiff
</refentrytitle><manvolnum>3</manvolnum></citerefentry></para>
</refsect1>
<refsect1 id="thumbnail-1-note"><title>&note-tt;</title>
<para>There are no options to control the format of the saved thumbnail
images.</para>
<para>Updated by Breda McColgan, Sun Microsystems Inc., 2004.</para>
</refsect1>
</refentry>