roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>TIFF2PDF</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFF2PDF

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
OPTIONS
roentgen b75cab
EXAMPLES
roentgen b75cab
BUGS
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2pdf − convert a TIFF image to a PDF

roentgen b75cab
document

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2pdf [ options ] input.tiff

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2pdf opens a TIFF image and writes a PDF

roentgen b75cab
document to standard output.

roentgen b75cab
roentgen b75cab

The program converts one TIFF file to one PDF file,

roentgen b75cab
including multiple page TIFF files, tiled TIFF files, black
roentgen b75cab
and white. grayscale, and color TIFF files that contain data
roentgen b75cab
of TIFF photometric interpretations of bilevel, grayscale,
roentgen b75cab
RGB, YCbCr, CMYK separation, and ICC L*a*b* as supported by
roentgen b75cab
libtiff and PDF.

roentgen b75cab
roentgen b75cab

If you have multiple TIFF files to convert into one PDF

roentgen b75cab
file then use tiffcp or other program to concatenate
roentgen b75cab
the files into a multiple page TIFF file. If the input TIFF
roentgen b75cab
file is of huge dimensions (greater than 10000 pixels height
roentgen b75cab
or width) convert the input image to a tiled TIFF if it is
roentgen b75cab
not already.

roentgen b75cab
roentgen b75cab

The standard output is standard output. Set the output

roentgen b75cab
file name with the −o output.pdf
roentgen b75cab
option.

roentgen b75cab
roentgen b75cab

All black and white files are compressed into a single

roentgen b75cab
strip CCITT G4 Fax compressed PDF, unless tiled, where tiled
roentgen b75cab
black and white images are compressed into tiled CCITT G4
roentgen b75cab
Fax compressed PDF, libtiff CCITT support is
roentgen b75cab
assumed.

roentgen b75cab
roentgen b75cab

Color and grayscale data can be compressed using either

roentgen b75cab
JPEG compression, ITU-T T.81, or Zip/Deflate LZ77
roentgen b75cab
compression. Set the compression type using the
roentgen b75cab
−j or −z options. JPEG compression
roentgen b75cab
support requires that libtiff be configured with JPEG
roentgen b75cab
support, and Zip/Deflate compression support requires that
roentgen b75cab
libtiff be configured with Zip support, in
roentgen b75cab
tiffconf.h. Use only one or the other of −j and
roentgen b75cab
−z.

roentgen b75cab
roentgen b75cab

If the input TIFF contains single strip CCITT G4 Fax

roentgen b75cab
compressed information, then that is written to the PDF file
roentgen b75cab
without transcoding, unless the options of no compression
roentgen b75cab
and no passthrough are set, −d and
roentgen b75cab
−n.

roentgen b75cab
roentgen b75cab

If the input TIFF contains JPEG or single strip

roentgen b75cab
Zip/Deflate compressed information, and they are configured,
roentgen b75cab
then that is written to the PDF file without transcoding,
roentgen b75cab
unless the options of no compression and no passthrough are
roentgen b75cab
set.

roentgen b75cab
roentgen b75cab

The default page size upon which the TIFF image is placed

roentgen b75cab
is determined by the resolution and extent of the image
roentgen b75cab
data. Default values for the TIFF image resolution can be
roentgen b75cab
set using the −x and −y options.
roentgen b75cab
The page size can be set using the −p option
roentgen b75cab
for paper size, or −w and −l for
roentgen b75cab
paper width and length, then each page of the TIFF image is
roentgen b75cab
centered on its page. The distance unit for default
roentgen b75cab
resolution and page width and length can be set by the
roentgen b75cab
−u option, the default unit is inch.

roentgen b75cab
roentgen b75cab

Various items of the output document information can be

roentgen b75cab
set with the −e, −c,
roentgen b75cab
−a, −t, −s, and
roentgen b75cab
−k options. Setting the argument of the option
roentgen b75cab
to "" for these tags causes the relevant document
roentgen b75cab
information field to be not written. Some of the document
roentgen b75cab
information values otherwise get their information from the
roentgen b75cab
input TIFF image, the software, author, document name, and
roentgen b75cab
image description.

roentgen b75cab
roentgen b75cab

The Portable Document Format (PDF) specification is

roentgen b75cab
copyrighted by Adobe Systems, Incorporated.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

OPTIONS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−o output-file

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set the output to go to file. output-file

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="4" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−j

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Compress with JPEG (requires libjpeg configured

roentgen b75cab
with libtiff).

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−z

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Compress with Zip/Deflate (requires zlib

roentgen b75cab
configured with libtiff).

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−q quality

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set the compression quality, 1-100 for JPEG.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="4" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−n

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Do not allow data to be converted without uncompressing,

roentgen b75cab
no compressed data passthrough.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−b

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set PDF ‘‘Interpolate’’ user

roentgen b75cab
preference.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−d

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Do not compress (decompress).

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−i

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Invert colors.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−p paper-size

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set paper size, e.g., letter, legal,

roentgen b75cab
A4.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−u [i|m]

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set distance unit, i for inch, m for

roentgen b75cab
centimeter.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−w width

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set width in units.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−l length

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set length in units.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−x xres

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set x/width resolution default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−y yres

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set y/length resolution default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−r [d|o]

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set d for resolution default for images without

roentgen b75cab
resolution, o for resolution override for all
roentgen b75cab
images.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="5" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−f

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set PDF ‘‘Fit Window’’ user

roentgen b75cab
preference.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−e YYYYMMDDHHMMSS

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information date, overrides image or current

roentgen b75cab
date/time default, YYYYMMDDHHMMSS.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−c creator

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information creator, overrides image

roentgen b75cab
software default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−a author

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information author, overrides image artist

roentgen b75cab
default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−t title

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information title, overrides image document

roentgen b75cab
name default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−s subject

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information subject, overrides image image

roentgen b75cab
description default.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−k keywords

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Set document information keywords.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="5" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−h

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

List usage reminder to stderr and exit.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

EXAMPLES

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

The following example would generate the file output.pdf

roentgen b75cab
from input.tiff.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
tiff2pdf −o output.pdf input.tiff
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

The following example would generate PDF output from

roentgen b75cab
input.tiff and write it to standard output.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
tiff2pdf input.tiff
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

The following example would generate the file output.pdf

roentgen b75cab
from input.tiff, putting the image pages on a letter sized
roentgen b75cab
page, compressing the output with JPEG, with JPEG quality
roentgen b75cab
75, setting the title to
roentgen b75cab
‘‘Document’’, and setting the
roentgen b75cab
‘‘Fit Window’’ option.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
tiff2pdf −p letter −j −q 75 −t "Document" −f −o output.pdf input.tiff
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

BUGS

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Please report bugs via the web interface at

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

libtiff(3), tiffcp(1),

roentgen b75cab
tiff2ps(1)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab