libtiff/html/man/tiff2pdf.1.html
Bob Friesenhahn c3402403ea * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
be used if build directory is not the same as source directory.
* man/{TIFFGetField.3tiff, man/TIFFSetField.3tiff}: Documented
TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
and re-sorted tag names in alphabetical order.
2006-01-02 23:50:44 +00:00

423 lines
12 KiB
HTML

<!-- Creator : groff version 1.19.2 -->
<!-- CreationDate: Mon Jan 2 17:41:55 2006 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; }
pre { margin-top: 0; margin-bottom: 0; }
table { margin-top: 0; margin-bottom: 0; }
</style>
<title>TIFF2PDF</title>
</head>
<body>
<h1 align=center>TIFF2PDF</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<hr>
<a name="NAME"></a>
<h2>NAME</h2>
<p style="margin-left:11%; margin-top: 1em">tiff2pdf -
convert a TIFF image to a PDF document</p>
<a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
<p style="margin-left:11%; margin-top: 1em"><b>tiff2pdf
[</b> <i>options</i> <b>]</b> <i>input.tiff</i></p>
<a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
<p style="margin-left:11%; margin-top: 1em"><b>tiff2pdf</b>
opens a TIFF image and writes a PDF document to standard
output.</p>
<p style="margin-left:11%; margin-top: 1em">The program
converts one TIFF file to one PDF file, including multiple
page TIFF files, tiled TIFF files, black and white.
grayscale, and color TIFF files that contain data of TIFF
photometric interpretations of bilevel, grayscale, RGB,
YCbCr, CMYK separation, and ICC L*a*b* as supported by
<i>libtiff</i> and PDF.</p>
<p style="margin-left:11%; margin-top: 1em">If you have
multiple TIFF files to convert into one PDF file then use
<i>tiffcp</i> or other program to concatenate the files into
a multiple page TIFF file. If the input TIFF file is of huge
dimensions (greater than 10000 pixels height or width)
convert the input image to a tiled TIFF if it is not
already.</p>
<p style="margin-left:11%; margin-top: 1em">The standard
output is standard output. Set the output file name with the
<b>-o</b><i>output.pdf</i> option.</p>
<p style="margin-left:11%; margin-top: 1em">All black and
white files are compressed into a single strip CCITT G4 Fax
compressed PDF, unless tiled, where tiled black and white
images are compressed into tiled CCITT G4 Fax compressed
PDF, <i>libtiff</i> CCITT support is assumed.</p>
<p style="margin-left:11%; margin-top: 1em">Color and
grayscale data can be compressed using either JPEG
compression, ITU-T T.81, or Zip/Deflate LZ77 compression.
Set the compression type using the <b>&minus;j</b> or
<b>&minus;z</b> options. JPEG compression support requires
that <i>libtiff</i> be configured with JPEG support, and
Zip/Deflate compression support requires that <i>libtiff</i>
be configured with Zip support, in tiffconf.h. Use only one
or the other of <b>&minus;j</b> and <b>&minus;z.</b></p>
<p style="margin-left:11%; margin-top: 1em">If the input
TIFF contains single strip CCITT G4 Fax compressed
information, then that is written to the PDF file without
transcoding, unless the options of no compression and no
passthrough are set, <b>&minus;d</b> and
<b>&minus;n.</b></p>
<p style="margin-left:11%; margin-top: 1em">If the input
TIFF contains JPEG or single strip Zip/Deflate compressed
information, and they are configured, then that is written
to the PDF file without transcoding, unless the options of
no compression and no passthrough are set.</p>
<p style="margin-left:11%; margin-top: 1em">The default
page size upon which the TIFF image is placed is determined
by the resolution and extent of the image data. Default
values for the TIFF image resolution can be set using the
<b>&minus;x</b> and <b>&minus;y</b> options. The page size
can be set using the <b>&minus;p</b> option for paper size,
or <b>&minus;w</b> and <b>&minus;l</b> for paper width and
length, then each page of the TIFF image is centered on its
page. The distance unit for default resolution and page
width and length can be set by the <b>&minus;u</b> option,
the default unit is inch.</p>
<p style="margin-left:11%; margin-top: 1em">Various items
of the output document information can be set with the
<b>&minus;e, &minus;c, &minus;a, &minus;t, &minus;s,</b> and
<b>&minus;k</b> options. Setting the argument of the option
to &quot;&quot; for these tags causes the relevant document
information field to be not written. Some of the document
information values otherwise get their information from the
input TIFF image, the software, author, document name, and
image description.</p>
<p style="margin-left:11%; margin-top: 1em">The Portable
Document Format (PDF) specification is copyrighted by Adobe
Systems, Incorporated.</p>
<a name="OPTIONS"></a>
<h2>OPTIONS</h2>
<p style="margin-left:11%; margin-top: 1em"><b>&minus;o</b><i>output-file</i></p>
<p style="margin-left:22%;">Set the output to go to file
<i>output-file</i></p>
<table width="100%" border=0 rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;j</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Compress with JPEG
(requires libjpeg configured with libtiff).</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;z</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Compress with
Zip/Deflate (requires zlib configured with libtiff).</p></td>
</table>
<p style="margin-left:11%;"><b>&minus;q</b><i>quality</i></p>
<p style="margin-left:22%;">Set the compression quality,
1-100 for JPEG.</p>
<table width="100%" border=0 rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;n</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Do not allow data
to be converted without uncompressing, no compressed data
passthrough.</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;b</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Set PDF
&quot;Interpolate&quot; user preference.</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;d</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Do not compress
(decompress).</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;i</b></p> </td>
<td width="8%"></td>
<td width="78%">
<p style="margin-top: 1em" valign="top">Invert colors.</p></td>
</table>
<p style="margin-left:11%;"><b>&minus;p</b><i>paper-size</i></p>
<p style="margin-left:22%;">Set paper size, eg
&quot;letter&quot;, &quot;legal&quot;, &quot;A4&quot;.</p>
<p style="margin-left:11%;"><b>&minus;u</b><i>[i|m]</i></p>
<p style="margin-left:22%;">Set distance unit, <i>i</i> for
inch, <i>m</i> for centimeter.</p>
<p style="margin-left:11%;"><b>&minus;w</b><i>width</i></p>
<p style="margin-left:22%;">Set width in units.</p>
<p style="margin-left:11%;"><b>&minus;l</b><i>length</i></p>
<p style="margin-left:22%;">Set length in units.</p>
<table width="100%" border=0 rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">
<p style="margin-top: 1em" valign="top"><b>&minus;x</b><i>xres</i></p> </td>
<td width="2%"></td>
<td width="49%">
<p style="margin-top: 1em" valign="top">Set x/width
resolution default.</p></td>
<td width="29%">
</td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">
<p style="margin-top: 1em" valign="top"><b>&minus;y</b><i>yres</i></p> </td>
<td width="2%"></td>
<td width="49%">
<p style="margin-top: 1em" valign="top">Set y/length
resolution default.</p></td>
<td width="29%">
</td>
</table>
<p style="margin-left:11%;"><b>&minus;r</b><i>[d|o]</i></p>
<p style="margin-left:22%;">Set <i>d</i> for resolution
default for images without resolution, <i>o for resolution
override for all images.</i></p>
<table width="100%" border=0 rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;f</b></p> </td>
<td width="8%"></td>
<td width="56%">
<p style="margin-top: 1em" valign="top">Set PDF &quot;Fit
Window&quot; user preference.</p></td>
<td width="22%">
</td>
</table>
<p style="margin-left:11%;"><b>&minus;e</b><i>YYYYMMDDHHMMSS</i></p>
<p style="margin-left:22%;">Set document information date,
overrides image or current date/time default,
<i>YYYYMMDDHHMMSS.</i></p>
<p style="margin-left:11%;"><b>&minus;c</b><i>creator</i></p>
<p style="margin-left:22%;">Set document information
creator, overrides image software default.</p>
<p style="margin-left:11%;"><b>&minus;a</b><i>author</i></p>
<p style="margin-left:22%;">Set document information
author, overrides image artist default</p>
<p style="margin-left:11%;"><b>&minus;t</b><i>title</i></p>
<p style="margin-left:22%;">Set document information title,
overrides image document name default</p>
<p style="margin-left:11%;"><b>&minus;s</b><i>subject</i></p>
<p style="margin-left:22%;">Set document information
subject, overrides image image description default</p>
<p style="margin-left:11%;"><b>&minus;k</b><i>keywords</i></p>
<p style="margin-left:22%;">Set document information
keywords.</p>
<table width="100%" border=0 rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em" valign="top"><b>&minus;h</b></p> </td>
<td width="8%"></td>
<td width="60%">
<p style="margin-top: 1em" valign="top">List usage reminder
to stderr and exit.</p></td>
<td width="18%">
</td>
</table>
<a name="EXAMPLES"></a>
<h2>EXAMPLES</h2>
<p style="margin-left:11%; margin-top: 1em">The following
example would generate the file output.pdf from <br>
input.tiff.</p>
<p style="margin-left:22%; margin-top: 1em">tiff2pdf -o
output.pdf input.tiff</p>
<p style="margin-left:11%; margin-top: 1em">The following
example would generate PDF output from input.tiff and write
it to standard output.</p>
<p style="margin-left:22%; margin-top: 1em">tiff2pdf
input.tiff</p>
<p style="margin-left:11%; margin-top: 1em">The following
example would generate the file output.pdf from input.tiff,
putting the image pages on a letter sized page, compressing
the output with JPEG, with JPEG quality 75, setting the
title to &quot;Document&quot;, and setting the &quot;Fit
Window&quot; option.</p>
<p style="margin-left:22%; margin-top: 1em">tiff2pdf -p
letter -j -q 75 -t &quot;Document&quot; -f -o output.pdf
input.tiff</p>
<a name="BUGS"></a>
<h2>BUGS</h2>
<p style="margin-left:11%; margin-top: 1em">Please report
bugs via the web interface at</p>
<p style="margin-left:22%; margin-top: 1em">http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff</p>
<a name="SEE ALSO"></a>
<h2>SEE ALSO</h2>
<p style="margin-left:11%; margin-top: 1em"><b>libtiff</b>(3)<b>,
tiffcp</b>(1)<b>, tiff2ps</b>(1)</p>
<p style="margin-left:11%; margin-top: 1em">Libtiff library
home page: <b>http://www.remotesensing.org/libtiff/</b></p>
<hr>
</body>
</html>