1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:12 2006 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFF2PDF
</title>
11 <h1 align=center
>TIFF2PDF
</h1>
12 <a href=
"#NAME">NAME
</a><br>
13 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
14 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
15 <a href=
"#OPTIONS">OPTIONS
</a><br>
16 <a href=
"#EXAMPLES">EXAMPLES
</a><br>
17 <a href=
"#BUGS">BUGS
</a><br>
18 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
24 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
25 cols=
"2" cellspacing=
"0" cellpadding=
"0">
26 <tr valign=
"top" align=
"left">
29 <p>tiff2pdf - convert a TIFF image to a PDF document
</p>
32 <a name=
"SYNOPSIS"></a>
35 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
36 cols=
"2" cellspacing=
"0" cellpadding=
"0">
37 <tr valign=
"top" align=
"left">
40 <p><b>tiff2pdf [
</b> <i>options
</i> <b>]
</b>
44 <a name=
"DESCRIPTION"></a>
47 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
48 cols=
"2" cellspacing=
"0" cellpadding=
"0">
49 <tr valign=
"top" align=
"left">
52 <p><b>tiff2pdf
</b> opens a TIFF image and writes a PDF
53 document to standard output.
</p>
55 <p>The program converts one TIFF file to one PDF file,
56 including multiple page TIFF files, tiled TIFF files, black
57 and white. grayscale, and color TIFF files that contain data
58 of TIFF photometric interpretations of bilevel, grayscale,
59 RGB, YCbCr, CMYK separation, and ICC L*a*b* as supported by
60 <i>libtiff
</i> and PDF.
</p>
62 <p>If you have multiple TIFF files to convert into one PDF
63 file then use
<i>tiffcp
</i> or other program to concatenate
64 the files into a multiple page TIFF file. If the input TIFF
65 file is of huge dimensions (greater than
10000 pixels height
66 or width) convert the input image to a tiled TIFF if it is
69 <p>The standard output is standard output. Set the output
70 file name with the
<b>-o
</b><i>output.pdf
</i> option.
</p>
72 <p>All black and white files are compressed into a single
73 strip CCITT G4 Fax compressed PDF, unless tiled, where tiled
74 black and white images are compressed into tiled CCITT G4
75 Fax compressed PDF,
<i>libtiff
</i> CCITT support is
78 <p>Color and grayscale data can be compressed using either
79 JPEG compression, ITU-T T
.81, or Zip/Deflate LZ77
80 compression. Set the compression type using the
81 <b>−j
</b> or
<b>−z
</b> options. JPEG compression
82 support requires that
<i>libtiff
</i> be configured with JPEG
83 support, and Zip/Deflate compression support requires that
84 <i>libtiff
</i> be configured with Zip support, in
85 tiffconf.h. Use only one or the other of
<b>−j
</b> and
88 <p>If the input TIFF contains single strip CCITT G4 Fax
89 compressed information, then that is written to the PDF file
90 without transcoding, unless the options of no compression
91 and no passthrough are set,
<b>−d
</b> and
94 <p>If the input TIFF contains JPEG or single strip
95 Zip/Deflate compressed information, and they are configured,
96 then that is written to the PDF file without transcoding,
97 unless the options of no compression and no passthrough are
100 <p>The default page size upon which the TIFF image is placed
101 is determined by the resolution and extent of the image
102 data. Default values for the TIFF image resolution can be
103 set using the
<b>−x
</b> and
<b>−y
</b> options.
104 The page size can be set using the
<b>−p
</b> option
105 for paper size, or
<b>−w
</b> and
<b>−l
</b> for
106 paper width and length, then each page of the TIFF image is
107 centered on its page. The distance unit for default
108 resolution and page width and length can be set by the
109 <b>−u
</b> option, the default unit is inch.
</p>
111 <p>Various items of the output document information can be
112 set with the
<b>−e,
−c,
−a,
−t,
113 −s,
</b> and
<b>−k
</b> options. Setting the
114 argument of the option to
"" for these tags causes
115 the relevant document information field to be not written.
116 Some of the document information values otherwise get their
117 information from the input TIFF image, the software, author,
118 document name, and image description.
</p>
120 <p>The Portable Document Format (PDF) specification is
121 copyrighted by Adobe Systems, Incorporated.
</p>
124 <a name=
"OPTIONS"></a>
127 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
128 cols=
"2" cellspacing=
"0" cellpadding=
"0">
129 <tr valign=
"top" align=
"left">
130 <td width=
"10%"></td>
132 <p><b>−o
</b><i>output-file
</i></p></td>
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=
"21%"></td>
140 <p>Set the output to go to file
<i>output-file
</i></p>
144 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
145 cols=
"4" cellspacing=
"0" cellpadding=
"0">
146 <tr valign=
"top" align=
"left">
147 <td width=
"11%"></td>
150 <p><b>−j
</b></p>
155 <p>Compress with JPEG (requires libjpeg configured with
158 <tr valign=
"top" align=
"left">
159 <td width=
"11%"></td>
162 <p><b>−z
</b></p>
167 <p>Compress with Zip/Deflate (requires zlib configured with
172 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
173 cols=
"2" cellspacing=
"0" cellpadding=
"0">
174 <tr valign=
"top" align=
"left">
175 <td width=
"10%"></td>
177 <p><b>−q
</b><i>quality
</i></p></td>
180 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
181 cols=
"2" cellspacing=
"0" cellpadding=
"0">
182 <tr valign=
"top" align=
"left">
183 <td width=
"21%"></td>
185 <p>Set the compression quality,
1-
100 for JPEG.
</p>
189 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
190 cols=
"4" cellspacing=
"0" cellpadding=
"0">
191 <tr valign=
"top" align=
"left">
192 <td width=
"11%"></td>
195 <p><b>−n
</b></p>
200 <p>Do not allow data to be converted without uncompressing,
201 no compressed data passthrough.
</p>
203 <tr valign=
"top" align=
"left">
204 <td width=
"11%"></td>
207 <p><b>−b
</b></p>
212 <p>Set PDF
"Interpolate
" user preference.
</p>
214 <tr valign=
"top" align=
"left">
215 <td width=
"11%"></td>
218 <p><b>−d
</b></p>
223 <p>Do not compress (decompress).
</p>
225 <tr valign=
"top" align=
"left">
226 <td width=
"11%"></td>
229 <p><b>−i
</b></p>
234 <p>Invert colors.
</p>
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=
"10%"></td>
243 <p><b>−p
</b><i>paper-size
</i></p></td>
246 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
247 cols=
"2" cellspacing=
"0" cellpadding=
"0">
248 <tr valign=
"top" align=
"left">
249 <td width=
"21%"></td>
251 <p>Set paper size, eg
"letter
",
"legal
",
256 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
257 cols=
"2" cellspacing=
"0" cellpadding=
"0">
258 <tr valign=
"top" align=
"left">
259 <td width=
"10%"></td>
261 <p><b>−u
</b><i>[i|m]
</i></p></td>
264 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
265 cols=
"2" cellspacing=
"0" cellpadding=
"0">
266 <tr valign=
"top" align=
"left">
267 <td width=
"21%"></td>
269 <p>Set distance unit,
<i>i
</i> for inch,
<i>m
</i> for
274 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
275 cols=
"2" cellspacing=
"0" cellpadding=
"0">
276 <tr valign=
"top" align=
"left">
277 <td width=
"10%"></td>
279 <p><b>−w
</b><i>width
</i></p></td>
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=
"21%"></td>
287 <p>Set width in units.
</p>
291 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
292 cols=
"2" cellspacing=
"0" cellpadding=
"0">
293 <tr valign=
"top" align=
"left">
294 <td width=
"10%"></td>
296 <p><b>−l
</b><i>length
</i></p></td>
299 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
300 cols=
"2" cellspacing=
"0" cellpadding=
"0">
301 <tr valign=
"top" align=
"left">
302 <td width=
"21%"></td>
304 <p>Set length in units.
</p>
308 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
309 cols=
"5" cellspacing=
"0" cellpadding=
"0">
310 <tr valign=
"top" align=
"left">
311 <td width=
"11%"></td>
314 <p><b>−x
</b><i>xres
</i></p>
316 <td width=
"13%"></td>
319 <p>Set x/width resolution default.
</p>
323 <tr valign=
"top" align=
"left">
324 <td width=
"11%"></td>
327 <p><b>−y
</b><i>yres
</i></p>
329 <td width=
"13%"></td>
332 <p>Set y/length resolution default.
</p>
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=
"10%"></td>
343 <p><b>−r
</b><i>[d|o]
</i></p></td>
346 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
347 cols=
"2" cellspacing=
"0" cellpadding=
"0">
348 <tr valign=
"top" align=
"left">
349 <td width=
"21%"></td>
351 <p>Set
<i>d
</i> for resolution default for images without
352 resolution,
<i>o for resolution override for all
357 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
358 cols=
"5" cellspacing=
"0" cellpadding=
"0">
359 <tr valign=
"top" align=
"left">
360 <td width=
"11%"></td>
363 <p><b>−f
</b></p>
365 <td width=
"13%"></td>
368 <p>Set PDF
"Fit Window
" user preference.
</p>
374 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
375 cols=
"2" cellspacing=
"0" cellpadding=
"0">
376 <tr valign=
"top" align=
"left">
377 <td width=
"10%"></td>
379 <p><b>−e
</b><i>YYYYMMDDHHMMSS
</i></p></td>
382 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
383 cols=
"2" cellspacing=
"0" cellpadding=
"0">
384 <tr valign=
"top" align=
"left">
385 <td width=
"21%"></td>
387 <p>Set document information date, overrides image or current
388 date/time default,
<i>YYYYMMDDHHMMSS.
</i></p>
392 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
393 cols=
"2" cellspacing=
"0" cellpadding=
"0">
394 <tr valign=
"top" align=
"left">
395 <td width=
"10%"></td>
397 <p><b>−c
</b><i>creator
</i></p></td>
400 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
401 cols=
"2" cellspacing=
"0" cellpadding=
"0">
402 <tr valign=
"top" align=
"left">
403 <td width=
"21%"></td>
405 <p>Set document information creator, overrides image
406 software default.
</p>
410 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
411 cols=
"2" cellspacing=
"0" cellpadding=
"0">
412 <tr valign=
"top" align=
"left">
413 <td width=
"10%"></td>
415 <p><b>−a
</b><i>author
</i></p></td>
418 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
419 cols=
"2" cellspacing=
"0" cellpadding=
"0">
420 <tr valign=
"top" align=
"left">
421 <td width=
"21%"></td>
423 <p>Set document information author, overrides image artist
428 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
429 cols=
"2" cellspacing=
"0" cellpadding=
"0">
430 <tr valign=
"top" align=
"left">
431 <td width=
"10%"></td>
433 <p><b>−t
</b><i>title
</i></p></td>
436 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
437 cols=
"2" cellspacing=
"0" cellpadding=
"0">
438 <tr valign=
"top" align=
"left">
439 <td width=
"21%"></td>
441 <p>Set document information title, overrides image document
446 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
447 cols=
"2" cellspacing=
"0" cellpadding=
"0">
448 <tr valign=
"top" align=
"left">
449 <td width=
"10%"></td>
451 <p><b>−s
</b><i>subject
</i></p></td>
454 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
455 cols=
"2" cellspacing=
"0" cellpadding=
"0">
456 <tr valign=
"top" align=
"left">
457 <td width=
"21%"></td>
459 <p>Set document information subject, overrides image image
460 description default
</p>
464 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
465 cols=
"2" cellspacing=
"0" cellpadding=
"0">
466 <tr valign=
"top" align=
"left">
467 <td width=
"10%"></td>
469 <p><b>−k
</b><i>keywords
</i></p></td>
472 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
473 cols=
"2" cellspacing=
"0" cellpadding=
"0">
474 <tr valign=
"top" align=
"left">
475 <td width=
"21%"></td>
477 <p>Set document information keywords.
</p>
481 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
482 cols=
"5" cellspacing=
"0" cellpadding=
"0">
483 <tr valign=
"top" align=
"left">
484 <td width=
"11%"></td>
487 <p><b>−h
</b></p>
489 <td width=
"13%"></td>
492 <p>List usage reminder to stderr and exit.
</p>
496 <tr valign=
"top" align=
"left">
497 <td width=
"11%"></td>
500 <td width=
"13%"></td>
502 <a name=
"EXAMPLES"></a>
505 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
506 cols=
"2" cellspacing=
"0" cellpadding=
"0">
507 <tr valign=
"top" align=
"left">
508 <td width=
"10%"></td>
510 <p>The following example would generate the file output.pdf
511 from input.tiff.
</p></td>
514 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
515 cols=
"2" cellspacing=
"0" cellpadding=
"0">
516 <tr valign=
"top" align=
"left">
517 <td width=
"20%"></td>
519 <p>tiff2pdf -o output.pdf input.tiff
</p></td>
522 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
523 cols=
"2" cellspacing=
"0" cellpadding=
"0">
524 <tr valign=
"top" align=
"left">
525 <td width=
"10%"></td>
527 <p>The following example would generate PDF output from
528 input.tiff and write it to standard output.
</p>
532 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
533 cols=
"2" cellspacing=
"0" cellpadding=
"0">
534 <tr valign=
"top" align=
"left">
535 <td width=
"20%"></td>
537 <p>tiff2pdf input.tiff
</p></td>
540 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
541 cols=
"2" cellspacing=
"0" cellpadding=
"0">
542 <tr valign=
"top" align=
"left">
543 <td width=
"10%"></td>
545 <p>The following example would generate the file output.pdf
546 from input.tiff, putting the image pages on a letter sized
547 page, compressing the output with JPEG, with JPEG quality
548 75, setting the title to
"Document
", and setting
549 the
"Fit Window
" option.
</p>
553 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
554 cols=
"2" cellspacing=
"0" cellpadding=
"0">
555 <tr valign=
"top" align=
"left">
556 <td width=
"20%"></td>
558 <p>tiff2pdf -p letter -j -q
75 -t
"Document
" -f -o
559 output.pdf input.tiff
</p></td>
564 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
565 cols=
"2" cellspacing=
"0" cellpadding=
"0">
566 <tr valign=
"top" align=
"left">
567 <td width=
"10%"></td>
569 <p>Please report bugs via the web interface at
</p>
573 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
574 cols=
"2" cellspacing=
"0" cellpadding=
"0">
575 <tr valign=
"top" align=
"left">
576 <td width=
"20%"></td>
579 <p>http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff
</p>
582 <a name=
"SEE ALSO"></a>
585 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
586 cols=
"2" cellspacing=
"0" cellpadding=
"0">
587 <tr valign=
"top" align=
"left">
588 <td width=
"10%"></td>
590 <p><b>libtiff
</b>(
3)
<b>, tiffcp
</b>(
1)
<b>,
593 <p>Libtiff library home page:
594 <b>http://www.remotesensing.org/libtiff/
</b></p>