1TIFF2PDF(1) General Commands Manual TIFF2PDF(1)
2
3
4
6 tiff2pdf - convert a TIFF image to a PDF document
7
9 tiff2pdf [ options ] input.tiff
10
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,
44 unless 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
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 -u [i|m]
95 Set distance unit, i for inch, m for centimeter.
96
97 -w width
98 Set width in units.
99
100 -l length
101 Set length in units.
102
103 -x xres
104 Set x/width resolution default.
105
106 -y yres
107 Set y/length resolution default.
108
109 -r [d|o]
110 Set d for resolution default for images without resolution, o
111 for resolution override for all images.
112
113 -f Set PDF ``Fit Window'' user preference.
114
115 -e YYYYMMDDHHMMSS
116 Set document information date, overrides image or current
117 date/time default, YYYYMMDDHHMMSS.
118
119 -c creator
120 Set document information creator, overrides image software
121 default.
122
123 -a author
124 Set document information author, overrides image artist default.
125
126 -t title
127 Set document information title, overrides image document name
128 default.
129
130 -s subject
131 Set document information subject, overrides image image descrip‐
132 tion default.
133
134 -k keywords
135 Set document information keywords.
136
137 -h List usage reminder to stderr and exit.
138
140 The following example would generate the file output.pdf from
141 input.tiff.
142 tiff2pdf -o output.pdf input.tiff
143
144 The following example would generate PDF output from input.tiff and
145 write it to standard output.
146 tiff2pdf input.tiff
147
148 The following example would generate the file output.pdf from
149 input.tiff, putting the image pages on a letter sized page, compressing
150 the output with JPEG, with JPEG quality 75, setting the title to ``Doc‐
151 ument'', and setting the ``Fit Window'' option.
152 tiff2pdf -p letter -j -q 75 -t "Document" -f -o output.pdf input.tiff
153
155 Please report bugs via the web interface at
156
157 http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff
158
160 libtiff(3), tiffcp(1), tiff2ps(1)
161
162 Libtiff library home page: http://www.remotesensing.org/libtiff/
163
164
165
166libtiff April 20, 2006 TIFF2PDF(1)