/usr/share/doc/libtiff-devel/html/man
NameSizeModeActions
CMakeLists.txt34600644editdlrm
fax2ps.1.html77410644editdlrm
fax2tiff.1.html147130644editdlrm
HtmlDoc.cmake21470644editdlrm
index.html38260644editdlrm
libtiff.3tiff.html245760644editdlrm
pal2rgb.1.html52440644editdlrm
ppm2tiff.1.html39790644editdlrm
raw2tiff.1.html127460644editdlrm
tiff2bw.1.html40570644editdlrm
tiff2pdf.1.html179420644editdlrm
tiff2ps.1.html150160644editdlrm
tiff2rgba.1.html45880644editdlrm
TIFFbuffer.3tiff.html38800644editdlrm
TIFFClose.3tiff.html24790644editdlrm
tiffcmp.1.html44010644editdlrm
TIFFcodec.3tiff.html37000644editdlrm
TIFFcolor.3tiff.html227630644editdlrm
tiffcp.1.html157540644editdlrm
tiffcrop.1.html204020644editdlrm
TIFFDataWidth.3tiff.html25560644editdlrm
tiffdither.1.html57890644editdlrm
tiffdump.1.html44160644editdlrm
TIFFError.3tiff.html32470644editdlrm
TIFFFieldDataType.3tiff.html21820644editdlrm
TIFFFieldName.3tiff.html21270644editdlrm
TIFFFieldPassCount.3tiff.html26120644editdlrm
TIFFFieldReadCount.3tiff.html28200644editdlrm
TIFFFieldTag.3tiff.html22490644editdlrm
TIFFFieldWriteCount.3tiff.html31440644editdlrm
TIFFFlush.3tiff.html33450644editdlrm
TIFFGetField.3tiff.html334580644editdlrm
tiffinfo.1.html44540644editdlrm
tiffmedian.1.html51540644editdlrm
TIFFmemory.3tiff.html35690644editdlrm
TIFFOpen.3tiff.html137000644editdlrm
TIFFPrintDirectory.3tiff.html47330644editdlrm
TIFFquery.3tiff.html51660644editdlrm
TIFFReadDirectory.3tiff.html81020644editdlrm
TIFFReadEncodedStrip.3tiff.html42990644editdlrm
TIFFReadEncodedTile.3tiff.html41330644editdlrm
TIFFReadRawStrip.3tiff.html33400644editdlrm
TIFFReadRawTile.3tiff.html34250644editdlrm
TIFFReadRGBAImage.3tiff.html104820644editdlrm
TIFFReadRGBAStrip.3tiff.html74810644editdlrm
TIFFReadRGBATile.3tiff.html84770644editdlrm
TIFFReadScanline.3tiff.html52570644editdlrm
TIFFReadTile.3tiff.html42780644editdlrm
TIFFRGBAImage.3tiff.html123100644editdlrm
tiffset.1.html49200644editdlrm
TIFFSetDirectory.3tiff.html38280644editdlrm
TIFFSetField.3tiff.html310930644editdlrm
TIFFsize.3tiff.html27480644editdlrm
tiffsplit.1.html29270644editdlrm
TIFFstrip.3tiff.html43560644editdlrm
TIFFswab.3tiff.html34920644editdlrm
TIFFtile.3tiff.html50140644editdlrm
TIFFWarning.3tiff.html33530644editdlrm
TIFFWriteDirectory.3tiff.html64860644editdlrm
TIFFWriteEncodedStrip.3tiff.html50930644editdlrm
TIFFWriteEncodedTile.3tiff.html48940644editdlrm
TIFFWriteRawStrip.3tiff.html45110644editdlrm
TIFFWriteRawTile.3tiff.html39780644editdlrm
TIFFWriteScanline.3tiff.html73870644editdlrm
TIFFWriteTile.3tiff.html36380644editdlrm
Edit: /usr/share/doc/libtiff-devel/html/man/tiff2pdf.1.html (17942B)
TIFF2PDF

TIFF2PDF

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
BUGS
SEE ALSO

NAME

tiff2pdf − convert a TIFF image to a PDF document

SYNOPSIS

tiff2pdf [ options ] input.tiff

DESCRIPTION

tiff2pdf opens a TIFF image and writes a PDF document to standard output.

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 libtiff and PDF.

If you have multiple TIFF files to convert into one PDF file then use tiffcp 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.

The standard output is standard output. Set the output file name with the −o output.pdf option.

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, libtiff CCITT support is assumed.

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 −j or −z options. JPEG compression support requires that libtiff be configured with JPEG support, and Zip/Deflate compression support requires that libtiff be configured with Zip support, in tiffconf.h. Use only one or the other of −j and −z.

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, −d and −n.

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.

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 −x and −y options. The page size can be set using the −p option for paper size, or −w and −l 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 −u option, the default unit is inch.

Various items of the output document information can be set with the −e, −c, −a, −t, −s, and −k options. Setting the argument of the option to "" 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.

The Portable Document Format (PDF) specification is copyrighted by Adobe Systems, Incorporated.

OPTIONS

−o output-file

Set the output to go to file. output-file

−j

Compress with JPEG (requires libjpeg configured with libtiff).

−z

Compress with Zip/Deflate (requires zlib configured with libtiff).

−q quality

Set the compression quality, 1-100 for JPEG.

−n

Do not allow data to be converted without uncompressing, no compressed data passthrough.

−b

Set PDF ‘‘Interpolate’’ user preference.

−d

Do not compress (decompress).

−i

Invert colors.

−p paper-size

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

−u [i|m]

Set distance unit, i for inch, m for centimeter.

−w width

Set width in units.

−l length

Set length in units.

−x xres

Set x/width resolution default.

−y yres

Set y/length resolution default.

−r [d|o]

Set d for resolution default for images without resolution, o for resolution override for all images.

−f

Set PDF ‘‘Fit Window’’ user preference.

−e YYYYMMDDHHMMSS

Set document information date, overrides image or current date/time default, YYYYMMDDHHMMSS.

−c creator

Set document information creator, overrides image software default.

−a author

Set document information author, overrides image artist default.

−t title

Set document information title, overrides image document name default.

−s subject

Set document information subject, overrides image image description default.

−k keywords

Set document information keywords.

−h

List usage reminder to stderr and exit.

EXAMPLES

The following example would generate the file output.pdf from input.tiff.

tiff2pdf −o output.pdf input.tiff

The following example would generate PDF output from input.tiff and write it to standard output.

tiff2pdf input.tiff

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 ‘‘Document’’, and setting the ‘‘Fit Window’’ option.

tiff2pdf −p letter −j −q 75 −t "Document" −f −o output.pdf input.tiff

BUGS

Please report bugs via the web interface at

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

SEE ALSO

libtiff(3), tiffcp(1), tiff2ps(1)

Libtiff library home page: http://www.simplesystems.org/libtiff/