3
<meta name="generator" content="groff -Thtml, see www.gnu.org">
4
<meta name="Content-Style" content="text/css">
5
<title>TIFF2PDF</title>
9
<h1 align=center>TIFF2PDF</h1>
10
<a href="#NAME">NAME</a><br>
11
<a href="#SYNOPSIS">SYNOPSIS</a><br>
12
<a href="#DESCRIPTION">DESCRIPTION</a><br>
13
<a href="#OPTIONS">OPTIONS</a><br>
14
<a href="#EXAMPLES">EXAMPLES</a><br>
15
<a href="#BUGS">BUGS</a><br>
16
<a href="#SEE ALSO">SEE ALSO</a><br>
19
<!-- Creator : groff version 1.17.2 -->
20
<!-- CreationDate: Mon Dec 22 00:39:33 2003 -->
23
<table width="100%" border=0 rules="none" frame="void"
24
cols="2" cellspacing="0" cellpadding="0">
25
<tr valign="top" align="left">
26
<td width="10%"></td><td width="90%">
27
tiff2pdf - convert a TIFF image to a PDF document</td></table>
28
<a name="SYNOPSIS"></a>
31
<table width="100%" border=0 rules="none" frame="void"
32
cols="2" cellspacing="0" cellpadding="0">
33
<tr valign="top" align="left">
34
<td width="10%"></td><td width="90%">
35
<b>tiff2pdf [</b> <i>options</i> <b>]</b>
36
<i>input.tiff</i></td></table>
37
<a name="DESCRIPTION"></a>
40
<table width="100%" border=0 rules="none" frame="void"
41
cols="2" cellspacing="0" cellpadding="0">
42
<tr valign="top" align="left">
43
<td width="10%"></td><td width="90%">
44
<b>tiff2pdf</b> opens a TIFF image and writes a PDF document
45
to standard output.</td></table>
47
<table width="100%" border=0 rules="none" frame="void"
48
cols="2" cellspacing="0" cellpadding="0">
49
<tr valign="top" align="left">
50
<td width="10%"></td><td width="90%">
51
The program converts one TIFF file to one PDF file,
52
including multiple page TIFF files, tiled TIFF files, black
53
and white. grayscale, and color TIFF files that contain data
54
of TIFF photometric interpretations of bilevel, grayscale,
55
RGB, YCbCr, CMYK separation, and ICC L*a*b* as supported by
56
<i>libtiff</i> and PDF.</td></table>
58
<table width="100%" border=0 rules="none" frame="void"
59
cols="2" cellspacing="0" cellpadding="0">
60
<tr valign="top" align="left">
61
<td width="10%"></td><td width="90%">
62
If you have multiple TIFF files to convert into one PDF file
63
then use <i>tiffcp</i> or other program to concatenate the
64
files into a multiple page TIFF file. If the input TIFF file
65
is of huge dimensions (greater than 10000 pixels height or
66
width) convert the input image to a tiled TIFF if it is not
69
<table width="100%" border=0 rules="none" frame="void"
70
cols="2" cellspacing="0" cellpadding="0">
71
<tr valign="top" align="left">
72
<td width="10%"></td><td width="90%">
73
The standard output is standard output. Set the output file
74
name with the <b>-o</b><i>output.pdf</i>
77
<table width="100%" border=0 rules="none" frame="void"
78
cols="2" cellspacing="0" cellpadding="0">
79
<tr valign="top" align="left">
80
<td width="10%"></td><td width="90%">
81
All black and white files are compressed into a single strip
82
CCITT G4 Fax compressed PDF, unless tiled, where tiled black
83
and white images are compressed into tiled CCITT G4 Fax
84
compressed PDF, <i>libtiff</i> CCITT support is
87
<table width="100%" border=0 rules="none" frame="void"
88
cols="2" cellspacing="0" cellpadding="0">
89
<tr valign="top" align="left">
90
<td width="10%"></td><td width="90%">
91
Color and grayscale data can be compressed using either JPEG
92
compression, ITU-T T.81, or Zip/Deflate LZ77 compression.
93
Set the compression type using the <b>-j</b> or <b>-z</b>
94
options. JPEG compression support requires that
95
<i>libtiff</i> be configured with JPEG support, and
96
Zip/Deflate compression support requires that <i>libtiff</i>
97
be configured with Zip support, in tiffconf.h. Use only one
98
or the other of <b>-j</b> and <b>-z.</b></td></table>
100
<table width="100%" border=0 rules="none" frame="void"
101
cols="2" cellspacing="0" cellpadding="0">
102
<tr valign="top" align="left">
103
<td width="10%"></td><td width="90%">
104
If the input TIFF contains single strip CCITT G4 Fax
105
compressed information, then that is written to the PDF file
106
without transcoding, unless the options of no compression
107
and no passthrough are set, <b>-d</b> and
108
<b>-n.</b></td></table>
110
<table width="100%" border=0 rules="none" frame="void"
111
cols="2" cellspacing="0" cellpadding="0">
112
<tr valign="top" align="left">
113
<td width="10%"></td><td width="90%">
114
If the input TIFF contains JPEG or single strip Zip/Deflate
115
compressed information, and they are configured, then that
116
is written to the PDF file without transcoding, unless the
117
options of no compression and no passthrough are
120
<table width="100%" border=0 rules="none" frame="void"
121
cols="2" cellspacing="0" cellpadding="0">
122
<tr valign="top" align="left">
123
<td width="10%"></td><td width="90%">
124
The default page size upon which the TIFF image is placed is
125
determined by the resolution and extent of the image data.
126
Default values for the TIFF image resolution can be set
127
using the <b>-x</b> and <b>-y</b> options. The page size can
128
be set using the <b>-p</b> option for paper size, or
129
<b>-w</b> and <b>-l</b> for paper width and length, then
130
each page of the TIFF image is centered on its page. The
131
distance unit for default resolution and page width and
132
length can be set by the <b>-u</b> option, the default unit
133
is inch.</td></table>
135
<table width="100%" border=0 rules="none" frame="void"
136
cols="2" cellspacing="0" cellpadding="0">
137
<tr valign="top" align="left">
138
<td width="10%"></td><td width="90%">
139
Various items of the output document information can be set
140
with the <b>-e, -c, -a, -t, -s,</b> and <b>-k</b> options.
141
Setting the argument of the option to "" for these
142
tags causes the relevant document information field to be
143
not written. Some of the document information values
144
otherwise get their information from the input TIFF image,
145
the software, author, document name, and image
146
description.</td></table>
148
<table width="100%" border=0 rules="none" frame="void"
149
cols="2" cellspacing="0" cellpadding="0">
150
<tr valign="top" align="left">
151
<td width="10%"></td><td width="90%">
152
The Portable Document Format (PDF) specification is
153
copyrighted by Adobe Systems, Incorporated.</td></table>
154
<a name="OPTIONS"></a>
157
<table width="100%" border=0 rules="none" frame="void"
158
cols="2" cellspacing="0" cellpadding="0">
159
<tr valign="top" align="left">
160
<td width="10%"></td><td width="90%">
161
<b>-o</b><i>output-file</i></td></table>
163
<table width="100%" border=0 rules="none" frame="void"
164
cols="2" cellspacing="0" cellpadding="0">
165
<tr valign="top" align="left">
166
<td width="21%"></td><td width="79%">
167
Set the output to go to file <i>output-file</i></td></table>
169
<table width="100%" border=0 rules="none" frame="void"
170
cols="2" cellspacing="0" cellpadding="0">
171
<tr valign="top" align="left">
172
<td width="10%"></td><td width="90%">
173
<b>-j</b></td></table>
175
<table width="100%" border=0 rules="none" frame="void"
176
cols="2" cellspacing="0" cellpadding="0">
177
<tr valign="top" align="left">
178
<td width="21%"></td><td width="79%">
179
Compress with JPEG (requires libjpeg configured with
180
libtiff).</td></table>
182
<table width="100%" border=0 rules="none" frame="void"
183
cols="2" cellspacing="0" cellpadding="0">
184
<tr valign="top" align="left">
185
<td width="10%"></td><td width="90%">
186
<b>-z</b></td></table>
188
<table width="100%" border=0 rules="none" frame="void"
189
cols="2" cellspacing="0" cellpadding="0">
190
<tr valign="top" align="left">
191
<td width="21%"></td><td width="79%">
192
Compress with Zip/Deflate (requires zlib configured with
193
libtiff).</td></table>
195
<table width="100%" border=0 rules="none" frame="void"
196
cols="2" cellspacing="0" cellpadding="0">
197
<tr valign="top" align="left">
198
<td width="10%"></td><td width="90%">
199
<b>-q</b><i>quality</i></td></table>
201
<table width="100%" border=0 rules="none" frame="void"
202
cols="2" cellspacing="0" cellpadding="0">
203
<tr valign="top" align="left">
204
<td width="21%"></td><td width="79%">
205
Set the compression quality, 1-100 for JPEG.</td></table>
207
<table width="100%" border=0 rules="none" frame="void"
208
cols="2" cellspacing="0" cellpadding="0">
209
<tr valign="top" align="left">
210
<td width="10%"></td><td width="90%">
211
<b>-n</b></td></table>
213
<table width="100%" border=0 rules="none" frame="void"
214
cols="2" cellspacing="0" cellpadding="0">
215
<tr valign="top" align="left">
216
<td width="21%"></td><td width="79%">
217
Do not allow data to be converted without uncompressing, no
218
compressed data passthrough.</td></table>
220
<table width="100%" border=0 rules="none" frame="void"
221
cols="2" cellspacing="0" cellpadding="0">
222
<tr valign="top" align="left">
223
<td width="10%"></td><td width="90%">
224
<b>-d</b></td></table>
226
<table width="100%" border=0 rules="none" frame="void"
227
cols="2" cellspacing="0" cellpadding="0">
228
<tr valign="top" align="left">
229
<td width="21%"></td><td width="79%">
230
Do not compress (decompress).</td></table>
232
<table width="100%" border=0 rules="none" frame="void"
233
cols="2" cellspacing="0" cellpadding="0">
234
<tr valign="top" align="left">
235
<td width="10%"></td><td width="90%">
236
<b>-i</b></td></table>
238
<table width="100%" border=0 rules="none" frame="void"
239
cols="2" cellspacing="0" cellpadding="0">
240
<tr valign="top" align="left">
241
<td width="21%"></td><td width="79%">
242
Invert colors.</td></table>
244
<table width="100%" border=0 rules="none" frame="void"
245
cols="2" cellspacing="0" cellpadding="0">
246
<tr valign="top" align="left">
247
<td width="10%"></td><td width="90%">
248
<b>-p</b><i>paper-size</i></td></table>
250
<table width="100%" border=0 rules="none" frame="void"
251
cols="2" cellspacing="0" cellpadding="0">
252
<tr valign="top" align="left">
253
<td width="21%"></td><td width="79%">
254
Set paper size, eg "letter", "legal",
255
"A4".</td></table>
257
<table width="100%" border=0 rules="none" frame="void"
258
cols="2" cellspacing="0" cellpadding="0">
259
<tr valign="top" align="left">
260
<td width="10%"></td><td width="90%">
261
<b>-u</b><i>[i|m]</i></td></table>
263
<table width="100%" border=0 rules="none" frame="void"
264
cols="2" cellspacing="0" cellpadding="0">
265
<tr valign="top" align="left">
266
<td width="21%"></td><td width="79%">
267
Set distance unit, <i>i</i> for inch, <i>m</i> for
268
centimeter.</td></table>
270
<table width="100%" border=0 rules="none" frame="void"
271
cols="2" cellspacing="0" cellpadding="0">
272
<tr valign="top" align="left">
273
<td width="10%"></td><td width="90%">
274
<b>-w</b><i>width</i></td></table>
276
<table width="100%" border=0 rules="none" frame="void"
277
cols="2" cellspacing="0" cellpadding="0">
278
<tr valign="top" align="left">
279
<td width="21%"></td><td width="79%">
280
Set width in units.</td></table>
282
<table width="100%" border=0 rules="none" frame="void"
283
cols="2" cellspacing="0" cellpadding="0">
284
<tr valign="top" align="left">
285
<td width="10%"></td><td width="90%">
286
<b>-l</b><i>length</i></td></table>
288
<table width="100%" border=0 rules="none" frame="void"
289
cols="2" cellspacing="0" cellpadding="0">
290
<tr valign="top" align="left">
291
<td width="21%"></td><td width="79%">
292
Set length in units.</td></table>
294
<table width="100%" border=0 rules="none" frame="void"
295
cols="2" cellspacing="0" cellpadding="0">
296
<tr valign="top" align="left">
297
<td width="10%"></td><td width="90%">
298
<b>-x</b><i>xres</i></td></table>
300
<table width="100%" border=0 rules="none" frame="void"
301
cols="2" cellspacing="0" cellpadding="0">
302
<tr valign="top" align="left">
303
<td width="21%"></td><td width="79%">
304
Set x/width resolution default.</td></table>
306
<table width="100%" border=0 rules="none" frame="void"
307
cols="2" cellspacing="0" cellpadding="0">
308
<tr valign="top" align="left">
309
<td width="10%"></td><td width="90%">
310
<b>-y</b><i>yres</i></td></table>
312
<table width="100%" border=0 rules="none" frame="void"
313
cols="2" cellspacing="0" cellpadding="0">
314
<tr valign="top" align="left">
315
<td width="21%"></td><td width="79%">
316
Set y/length resolution default.</td></table>
318
<table width="100%" border=0 rules="none" frame="void"
319
cols="2" cellspacing="0" cellpadding="0">
320
<tr valign="top" align="left">
321
<td width="10%"></td><td width="90%">
322
<b>-r</b><i>[d|o]</i></td></table>
324
<table width="100%" border=0 rules="none" frame="void"
325
cols="2" cellspacing="0" cellpadding="0">
326
<tr valign="top" align="left">
327
<td width="21%"></td><td width="79%">
328
Set <i>d</i> for resolution default for images without
329
resolution, <i>o for resolution override for all
330
images.</i></td></table>
332
<table width="100%" border=0 rules="none" frame="void"
333
cols="2" cellspacing="0" cellpadding="0">
334
<tr valign="top" align="left">
335
<td width="10%"></td><td width="90%">
336
<b>-f</b></td></table>
338
<table width="100%" border=0 rules="none" frame="void"
339
cols="2" cellspacing="0" cellpadding="0">
340
<tr valign="top" align="left">
341
<td width="21%"></td><td width="79%">
342
Set PDF "Fit Window" user preference</td></table>
344
<table width="100%" border=0 rules="none" frame="void"
345
cols="2" cellspacing="0" cellpadding="0">
346
<tr valign="top" align="left">
347
<td width="10%"></td><td width="90%">
348
<b>-e</b><i>YYYYMMDDHHMMSS</i></td></table>
350
<table width="100%" border=0 rules="none" frame="void"
351
cols="2" cellspacing="0" cellpadding="0">
352
<tr valign="top" align="left">
353
<td width="21%"></td><td width="79%">
354
Set document information date, overrides image or current
355
date/time default, <i>YYYYMMDDHHMMSS.</i></td></table>
357
<table width="100%" border=0 rules="none" frame="void"
358
cols="2" cellspacing="0" cellpadding="0">
359
<tr valign="top" align="left">
360
<td width="10%"></td><td width="90%">
361
<b>-c</b><i>creator</i></td></table>
363
<table width="100%" border=0 rules="none" frame="void"
364
cols="2" cellspacing="0" cellpadding="0">
365
<tr valign="top" align="left">
366
<td width="21%"></td><td width="79%">
367
Set document information creator, overrides image software
368
default.</td></table>
370
<table width="100%" border=0 rules="none" frame="void"
371
cols="2" cellspacing="0" cellpadding="0">
372
<tr valign="top" align="left">
373
<td width="10%"></td><td width="90%">
374
<b>-a</b><i>author</i></td></table>
376
<table width="100%" border=0 rules="none" frame="void"
377
cols="2" cellspacing="0" cellpadding="0">
378
<tr valign="top" align="left">
379
<td width="21%"></td><td width="79%">
380
Set document information author, overrides image artist
383
<table width="100%" border=0 rules="none" frame="void"
384
cols="2" cellspacing="0" cellpadding="0">
385
<tr valign="top" align="left">
386
<td width="10%"></td><td width="90%">
387
<b>-t</b><i>title</i></td></table>
389
<table width="100%" border=0 rules="none" frame="void"
390
cols="2" cellspacing="0" cellpadding="0">
391
<tr valign="top" align="left">
392
<td width="21%"></td><td width="79%">
393
Set document information title, overrides image document
394
name default</td></table>
396
<table width="100%" border=0 rules="none" frame="void"
397
cols="2" cellspacing="0" cellpadding="0">
398
<tr valign="top" align="left">
399
<td width="10%"></td><td width="90%">
400
<b>-s</b><i>subject</i></td></table>
402
<table width="100%" border=0 rules="none" frame="void"
403
cols="2" cellspacing="0" cellpadding="0">
404
<tr valign="top" align="left">
405
<td width="21%"></td><td width="79%">
406
Set document information subject, overrides image image
407
description default</td></table>
409
<table width="100%" border=0 rules="none" frame="void"
410
cols="2" cellspacing="0" cellpadding="0">
411
<tr valign="top" align="left">
412
<td width="10%"></td><td width="90%">
413
<b>-k</b><i>keywords</i></td></table>
415
<table width="100%" border=0 rules="none" frame="void"
416
cols="2" cellspacing="0" cellpadding="0">
417
<tr valign="top" align="left">
418
<td width="21%"></td><td width="79%">
419
Set document information keywords.</td></table>
421
<table width="100%" border=0 rules="none" frame="void"
422
cols="2" cellspacing="0" cellpadding="0">
423
<tr valign="top" align="left">
424
<td width="10%"></td><td width="90%">
425
<b>-h</b></td></table>
427
<table width="100%" border=0 rules="none" frame="void"
428
cols="2" cellspacing="0" cellpadding="0">
429
<tr valign="top" align="left">
430
<td width="21%"></td><td width="79%">
431
List usage reminder to stderr and exit.</td></table>
432
<a name="EXAMPLES"></a>
435
<table width="100%" border=0 rules="none" frame="void"
436
cols="2" cellspacing="0" cellpadding="0">
437
<tr valign="top" align="left">
438
<td width="10%"></td><td width="90%">
439
The following example would generate the file output.pdf
440
from input.tiff.</td></table>
442
<table width="100%" border=0 rules="none" frame="void"
443
cols="2" cellspacing="0" cellpadding="0">
444
<tr valign="top" align="left">
445
<td width="21%"></td><td width="79%">
446
tiff2pdf -o output.pdf input.tiff</td></table>
448
<table width="100%" border=0 rules="none" frame="void"
449
cols="2" cellspacing="0" cellpadding="0">
450
<tr valign="top" align="left">
451
<td width="10%"></td><td width="90%">
452
The following example would generate PDF output from
453
input.tiff and write it to standard output.</td></table>
455
<table width="100%" border=0 rules="none" frame="void"
456
cols="2" cellspacing="0" cellpadding="0">
457
<tr valign="top" align="left">
458
<td width="21%"></td><td width="79%">
459
tiff2pdf input.tiff</td></table>
461
<table width="100%" border=0 rules="none" frame="void"
462
cols="2" cellspacing="0" cellpadding="0">
463
<tr valign="top" align="left">
464
<td width="10%"></td><td width="90%">
465
The following example would generate the file output.pdf
466
from input.tiff, putting the image pages on a letter sized
467
page, compressing the output with JPEG, with JPEG quality
468
75, setting the title to "Document", and setting
469
the "Fit Window" option.</td></table>
471
<table width="100%" border=0 rules="none" frame="void"
472
cols="2" cellspacing="0" cellpadding="0">
473
<tr valign="top" align="left">
474
<td width="21%"></td><td width="79%">
475
tiff2pdf -p letter -j -q 75 -t "Document" -f -o
476
output.pdf input.tiff</td></table>
480
<table width="100%" border=0 rules="none" frame="void"
481
cols="2" cellspacing="0" cellpadding="0">
482
<tr valign="top" align="left">
483
<td width="10%"></td><td width="90%">
484
Please report bugs via the web interface at</td></table>
486
<table width="100%" border=0 rules="none" frame="void"
487
cols="2" cellspacing="0" cellpadding="0">
488
<tr valign="top" align="left">
489
<td width="21%"></td><td width="79%">
491
http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff</td></table>
492
<a name="SEE ALSO"></a>
495
<table width="100%" border=0 rules="none" frame="void"
496
cols="2" cellspacing="0" cellpadding="0">
497
<tr valign="top" align="left">
498
<td width="10%"></td><td width="90%">
499
<b>libtiff</b>(3)<b>, tiffcp</b>(1)<b>,
500
tiff2ps</b>(1)</td></table>