1TIFF2PDF(1)                 General Commands Manual                TIFF2PDF(1)
2
3
4

NAME

6       tiff2pdf - convert a TIFF image to a PDF document
7

SYNOPSIS

9       tiff2pdf [ options ] input.tiff
10

DESCRIPTION

12       tiff2pdf  opens a TIFF image and writes a PDF document to standard out‐
13       put.
14
15       The program converts one TIFF file to one PDF file, including  multiple
16       page  TIFF  files,  tiled  TIFF  files, black and white. grayscale, and
17       color TIFF files that contain data of TIFF photometric  interpretations
18       of  bilevel,  grayscale, RGB, YCbCr, CMYK separation, and ICC L*a*b* as
19       supported by libtiff and PDF.
20
21       If you have multiple TIFF files to convert into one PDF file  then  use
22       tiffcp  or  other program to concatenate the files into a multiple page
23       TIFF file.  If the input TIFF file is of huge dimensions (greater  than
24       10000  pixels  height or width) convert the input image to a tiled TIFF
25       if it is not already.
26
27       The standard output is standard output.  Set the output file name  with
28       the -o output.pdf option.
29
30       All  black  and white files are compressed into a single strip CCITT G4
31       Fax compressed PDF, unless tiled, where tiled black  and  white  images
32       are  compressed  into  tiled CCITT G4 Fax compressed PDF, libtiff CCITT
33       support is assumed.
34
35       Color and grayscale data can be compressed using either  JPEG  compres‐
36       sion, ITU-T T.81, or Zip/Deflate LZ77 compression.  Set the compression
37       type using the -j or -z options.   JPEG  compression  support  requires
38       that  libtiff be configured with JPEG support, and Zip/Deflate compres‐
39       sion support requires that libtiff be configured with Zip  support,  in
40       tiffconf.h.  Use only one or the other of -j and -z.
41
42       If  the input TIFF contains single strip CCITT G4 Fax compressed infor‐
43       mation, then that is written to the PDF file without  transcoding,  un‐
44       less  the  options of no compression and no passthrough are set, -d and
45       -n.
46
47       If the input TIFF contains JPEG or single strip Zip/Deflate  compressed
48       information,  and  they are configured, then that is written to the PDF
49       file without transcoding, unless the options of no compression  and  no
50       passthrough are set.
51
52       The default page size upon which the TIFF image is placed is determined
53       by the resolution and extent of the image data.  Default values for the
54       TIFF image resolution can be set using the -x and -y options.  The page
55       size can be set using the -p option for paper size, or -w  and  -l  for
56       paper width and length, then each page of the TIFF image is centered on
57       its page.  The distance unit for default resolution and page width  and
58       length can be set by the -u option, the default unit is inch.
59
60       Various  items  of  the output document information can be set with the
61       -e, -c, -a, -t, -s, and -k options.  Setting the argument of the option
62       to  "" for these tags causes the relevant document information field to
63       be not written.  Some of the document information values otherwise  get
64       their information from the input TIFF image, the software, author, doc‐
65       ument name, and image description.
66
67       The Portable Document Format  (PDF)  specification  is  copyrighted  by
68       Adobe Systems, Incorporated.
69

OPTIONS

71       -o output-file
72              Set the output to go to file.  output-file
73
74       -j     Compress with JPEG (requires libjpeg configured with libtiff).
75
76       -z     Compress   with   Zip/Deflate  (requires  zlib  configured  with
77              libtiff).
78
79       -q quality
80              Set the compression quality, 1-100 for JPEG.
81
82       -n     Do not allow data to be converted without uncompressing, no com‐
83              pressed data passthrough.
84
85       -b     Set PDF ``Interpolate'' user preference.
86
87       -d     Do not compress (decompress).
88
89       -i     Invert colors.
90
91       -p paper-size
92              Set paper size, e.g., letter, legal, A4.
93
94       -F     Cause the tiff to fill the PDF page.
95
96       -u [i|m]
97              Set distance unit, i for inch, m for centimeter.
98
99       -w width
100              Set width in units.
101
102       -l length
103              Set length in units.
104
105       -x xres
106              Set x/width resolution default.
107
108       -y yres
109              Set y/length resolution default.
110
111       -r [d|o]
112              Set  d  for  resolution default for images without resolution, o
113              for resolution override for all images.
114
115       -f     Set PDF ``Fit Window'' user preference.
116
117       -e YYYYMMDDHHMMSS
118              Set  document  information  date,  overrides  image  or  current
119              date/time default, YYYYMMDDHHMMSS.
120
121       -c creator
122              Set  document  information creator, overrides image software de‐
123              fault.
124
125       -a author
126              Set document information author, overrides image artist default.
127
128       -t title
129              Set document information title, overrides  image  document  name
130              default.
131
132       -s subject
133              Set document information subject, overrides image image descrip‐
134              tion default.
135
136       -k keywords
137              Set document information keywords.
138
139       -m size
140              Set memory allocation limit (in MiB). Default is 256MiB. Set  to
141              0 to disable the limit.
142
143       -h     List usage reminder to stderr and exit.
144

EXAMPLES

146       The  following  example  would  generate  the  file output.pdf from in‐
147       put.tiff.
148              tiff2pdf -o output.pdf input.tiff
149
150       The following example would generate PDF  output  from  input.tiff  and
151       write it to standard output.
152              tiff2pdf input.tiff
153
154       The  following  example  would  generate  the  file output.pdf from in‐
155       put.tiff, putting the image pages on a letter sized  page,  compressing
156       the output with JPEG, with JPEG quality 75, setting the title to ``Doc‐
157       ument'', and setting the ``Fit Window'' option.
158              tiff2pdf -p letter -j -q 75 -t "Document" -f -o output.pdf input.tiff
159

BUGS

161       Please report bugs via the web interface at
162
163              http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff
164

SEE ALSO

166       libtiff(3), tiffcp(1), tiff2ps(1)
167
168       Libtiff library home page: http://www.simplesystems.org/libtiff/
169
170
171
172libtiff                         April 20, 2006                     TIFF2PDF(1)
Impressum