1 .\" $Id: tiff2pdf.1,v 1.7 2010-12-11 22:47:49 faxguy Exp $
 
   3 .\"  Copyright (c) 2003 Ross Finlayson
 
   5 .\"  Permission to use, copy, modify, distribute, and sell this software and 
 
   6 .\"  its documentation for any purpose is hereby granted without fee, provided
 
   7 .\"  that (i) the above copyright notices and this permission notice appear in
 
   8 .\"  all copies of the software and related documentation, and (ii) the name of
 
   9 .\"  Ross Finlayson may not be used in any advertising or
 
  10 .\"  publicity relating to the software without the specific, prior written
 
  11 .\"  permission of Ross Finlayson.
 
  13 .\"  THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
 
  14 .\"  EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
 
  15 .\"  WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
 
  17 .\"  IN NO EVENT SHALL ROSS FINLAYSON BE LIABLE FOR
 
  18 .\"  ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
 
  19 .\"  OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
  20 .\"  WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
 
  21 .\"  LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
 
  24 .\" Process this file with
 
  25 .\" groff -man -Tascii tiff2pdf.1
 
  27 .TH TIFF2PDF 1 "April 20, 2006" "libtiff"
 
  29 tiff2pdf \- convert a TIFF image to a PDF document
 
  38 opens a TIFF image and writes a PDF document to standard output.
 
  40 The program converts one TIFF file to one PDF file, including multiple page 
 
  41 TIFF files, tiled TIFF files, black and white. grayscale, and color TIFF 
 
  42 files that contain data of TIFF photometric interpretations of bilevel, 
 
  43 grayscale, RGB, YCbCr, CMYK separation, and ICC L*a*b* as supported by 
 
  47 If you have multiple TIFF files to convert into one PDF file then use 
 
  49 or other program to concatenate the files into a multiple page TIFF file.  
 
  50 If the input TIFF file is of huge dimensions (greater than 10000 pixels height
 
  51 or width) convert the input image to a tiled TIFF if it is not already.
 
  53 The standard output is standard output.  Set the output file name with the 
 
  57 All black and white files are compressed into a single strip CCITT G4 Fax
 
  58 compressed PDF, unless tiled, where tiled black and white images are
 
  59 compressed into tiled CCITT G4 Fax compressed PDF, 
 
  61 CCITT support is assumed.
 
  63 Color and grayscale data can be compressed using either JPEG compression,
 
  64 ITU-T T.81, or Zip/Deflate LZ77 compression.  Set the compression type using
 
  69 options.  JPEG compression support 
 
  72 be configured with JPEG support, and Zip/Deflate compression support requires
 
  75 be configured with Zip support, in tiffconf.h.  Use only one or the other of 
 
  80 If the input TIFF contains single strip CCITT G4 Fax compressed information, 
 
  81 then that is written to the PDF file without transcoding, unless the options 
 
  82 of no compression and no passthrough are set, 
 
  87 If the input TIFF contains JPEG or single strip Zip/Deflate compressed 
 
  88 information, and they are configured, then that is written to the PDF file 
 
  89 without transcoding, unless the options of no compression and no passthrough 
 
  92 The default page size upon which the TIFF image is placed is determined by 
 
  93 the resolution and extent of the image data.  Default values for the TIFF 
 
  94 image resolution can be set using the
 
  98 options.  The page size can be set using the
 
 100 option for paper size, or
 
 104 for paper width and length, then each page of the TIFF image is centered on
 
 105 its page.  The distance unit for default resolution and page width and
 
 106 length can be set by the
 
 108 option, the default unit is inch.
 
 110 Various items of the output document information can be set with the
 
 118 options.  Setting the argument of the option to "" for these 
 
 119 tags causes the relevant document information field to be not written.  Some 
 
 120 of the document information values otherwise get their information from the 
 
 121 input TIFF image, the software, author, document name, and image description.
 
 123 The Portable Document Format (PDF) specification is copyrighted by Adobe 
 
 124 Systems, Incorporated.
 
 127 .BI \-o " output-file"
 
 128 Set the output to go to file.
 
 132 Compress with JPEG (requires
 
 138 Compress with Zip/Deflate (requires
 
 144 Set the compression quality, 1-100 for JPEG.
 
 147 Do not allow data to be converted without uncompressing, no compressed
 
 151 Set PDF ``Interpolate'' user preference.
 
 154 Do not compress (decompress).
 
 159 .BI \-p " paper-size"
 
 160 Set paper size, e.g.,
 
 166 Cause the tiff to fill the PDF page.
 
 182 Set x/width resolution default.
 
 185 Set y/length resolution default.
 
 190 for resolution default for images without resolution, 
 
 192 for resolution override for all images.
 
 195 Set PDF ``Fit Window'' user preference.
 
 197 .BI \-e " YYYYMMDDHHMMSS"
 
 198 Set document information date, overrides image or current date/time default,
 
 202 Set document information creator, overrides image software default.
 
 205 Set document information author, overrides image artist default.
 
 208 Set document information title, overrides image document name default.
 
 211 Set document information subject, overrides image image description default.
 
 214 Set document information keywords.
 
 217 List usage reminder to stderr and exit.
 
 220 The following example would generate the file output.pdf from input.tiff.
 
 223 tiff2pdf \-o output.pdf input.tiff
 
 227 The following example would generate PDF output from input.tiff and write it 
 
 235 The following example would generate the file output.pdf from input.tiff, 
 
 236 putting the image pages on a letter sized page, compressing the output 
 
 237 with JPEG, with JPEG quality 75, setting the title to ``Document'', and setting 
 
 238 the ``Fit Window'' option.
 
 241 tiff2pdf \-p letter \-j \-q 75 \-t "Document" \-f \-o output.pdf input.tiff
 
 245 Please report bugs via the web interface at 
 
 247 \%http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff
 
 253 Libtiff library home page:
 
 254 .BR http://www.remotesensing.org/libtiff/