1 <!-- Creator     : groff version 1.18.1 --> 
   2 <!-- CreationDate: Sat Feb 24 18:37:19 2007 --> 
   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
 
  33 <a name=
"SYNOPSIS"></a> 
  36 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  37        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  38 <tr valign=
"top" align=
"left"> 
  41 <p><b>tiff2pdf
</b> [ 
<i>options
</i> ] 
<i>input.tiff
</i></p> 
  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><i>tiff2pdf
</i> 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> 
  73 <p>All black and white files are compressed into a single
 
  74 strip CCITT G4 Fax compressed PDF, unless tiled, where tiled
 
  75 black and white images are compressed into tiled CCITT G4
 
  76 Fax compressed PDF, 
<i>libtiff
</i> CCITT support is
 
  79 <p>Color and grayscale data can be compressed using either
 
  80 JPEG compression, ITU-T T
.81, or Zip/Deflate LZ77
 
  81 compression. Set the compression type using the
 
  82 <b>−j
</b> or 
<b>−z
</b> options. JPEG compression
 
  83 support requires that 
<i>libtiff
</i> be configured with JPEG
 
  84 support, and Zip/Deflate compression support requires that
 
  85 <i>libtiff
</i> be configured with Zip support, in
 
  86 tiffconf.h. Use only one or the other of 
<b>−j
</b> and
 
  89 <p>If the input TIFF contains single strip CCITT G4 Fax
 
  90 compressed information, then that is written to the PDF file
 
  91 without transcoding, unless the options of no compression
 
  92 and no passthrough are set, 
<b>−d
</b> and
 
  95 <p>If the input TIFF contains JPEG or single strip
 
  96 Zip/Deflate compressed information, and they are configured,
 
  97 then that is written to the PDF file without transcoding,
 
  98 unless the options of no compression and no passthrough are
 
 101 <p>The default page size upon which the TIFF image is placed
 
 102 is determined by the resolution and extent of the image
 
 103 data. Default values for the TIFF image resolution can be
 
 104 set using the 
<b>−x
</b> and 
<b>−y
</b> options.
 
 105 The page size can be set using the 
<b>−p
</b> option
 
 106 for paper size, or 
<b>−w
</b> and 
<b>−l
</b> for
 
 107 paper width and length, then each page of the TIFF image is
 
 108 centered on its page. The distance unit for default
 
 109 resolution and page width and length can be set by the
 
 110 <b>−u
</b> option, the default unit is inch.
</p> 
 112 <p>Various items of the output document information can be
 
 113 set with the 
<b>−e
</b>, 
<b>−c
</b>,
 
 114 <b>−a
</b>, 
<b>−t
</b>, 
<b>−s
</b>, and
 
 115 <b>−k
</b> options. Setting the argument of the option
 
 116 to 
"" for these tags causes the relevant document
 
 117 information field to be not written. Some of the document
 
 118 information values otherwise get their information from the
 
 119 input TIFF image, the software, author, document name, and
 
 120 image description.
</p> 
 122 <p>The Portable Document Format (PDF) specification is
 
 123 copyrighted by Adobe Systems, Incorporated.
</p> 
 126 <a name=
"OPTIONS"></a> 
 129 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 130        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 131 <tr valign=
"top" align=
"left"> 
 132 <td width=
"10%"></td> 
 134 <p><b>−o
</b> <i>output-file
</i></p></td> 
 137 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 138        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 139 <tr valign=
"top" align=
"left"> 
 140 <td width=
"21%"></td> 
 142 <p>Set the output to go to file. 
<i>output-file
</i></p> 
 146 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 147        cols=
"4" cellspacing=
"0" cellpadding=
"0"> 
 148 <tr valign=
"top" align=
"left"> 
 149 <td width=
"11%"></td> 
 152 <p><b>−j
</b></p> 
 157 <p>Compress with JPEG (requires 
<i>libjpeg
</i> configured
 
 158 with 
<i>libtiff
</i>).
</p> 
 160 <tr valign=
"top" align=
"left"> 
 161 <td width=
"11%"></td> 
 164 <p><b>−z
</b></p> 
 169 <p>Compress with Zip/Deflate (requires 
<i>zlib
</i> 
 170 configured with 
<i>libtiff
</i>).
</p> 
 174 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 175        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 176 <tr valign=
"top" align=
"left"> 
 177 <td width=
"10%"></td> 
 179 <p><b>−q
</b> <i>quality
</i></p></td> 
 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=
"21%"></td> 
 187 <p>Set the compression quality, 
1-
100 for JPEG.
</p> 
 191 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 192        cols=
"4" cellspacing=
"0" cellpadding=
"0"> 
 193 <tr valign=
"top" align=
"left"> 
 194 <td width=
"11%"></td> 
 197 <p><b>−n
</b></p> 
 202 <p>Do not allow data to be converted without uncompressing,
 
 203 no compressed data passthrough.
</p> 
 205 <tr valign=
"top" align=
"left"> 
 206 <td width=
"11%"></td> 
 209 <p><b>−b
</b></p> 
 214 <p>Set PDF 
‘‘Interpolate
’’ user
 
 217 <tr valign=
"top" align=
"left"> 
 218 <td width=
"11%"></td> 
 221 <p><b>−d
</b></p> 
 226 <p>Do not compress (decompress).
</p> 
 228 <tr valign=
"top" align=
"left"> 
 229 <td width=
"11%"></td> 
 232 <p><b>−i
</b></p> 
 237 <p>Invert colors.
</p> 
 241 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 242        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 243 <tr valign=
"top" align=
"left"> 
 244 <td width=
"10%"></td> 
 246 <p><b>−p
</b> <i>paper-size
</i></p></td> 
 249 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 250        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 251 <tr valign=
"top" align=
"left"> 
 252 <td width=
"21%"></td> 
 254 <p>Set paper size, e.g., 
<b>letter
</b>, 
<b>legal
</b>,
 
 259 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 260        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 261 <tr valign=
"top" align=
"left"> 
 262 <td width=
"10%"></td> 
 264 <p><b>−u
</b> [
<b>i
</b>|
<b>m
</b>]
</p></td> 
 267 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 268        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 269 <tr valign=
"top" align=
"left"> 
 270 <td width=
"21%"></td> 
 272 <p>Set distance unit, 
<b>i
</b> for inch, 
<b>m
</b> for
 
 277 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 278        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 279 <tr valign=
"top" align=
"left"> 
 280 <td width=
"10%"></td> 
 282 <p><b>−w
</b> <i>width
</i></p></td> 
 285 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 286        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 287 <tr valign=
"top" align=
"left"> 
 288 <td width=
"21%"></td> 
 290 <p>Set width in units.
</p> 
 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> 
 299 <p><b>−l
</b> <i>length
</i></p></td> 
 302 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 303        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 304 <tr valign=
"top" align=
"left"> 
 305 <td width=
"21%"></td> 
 307 <p>Set length in units.
</p> 
 311 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 312        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 313 <tr valign=
"top" align=
"left"> 
 314 <td width=
"10%"></td> 
 316 <p><b>−x
</b> <i>xres
</i></p></td> 
 319 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 320        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 321 <tr valign=
"top" align=
"left"> 
 322 <td width=
"21%"></td> 
 324 <p>Set x/width resolution default.
</p> 
 328 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 329        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 330 <tr valign=
"top" align=
"left"> 
 331 <td width=
"10%"></td> 
 333 <p><b>−y
</b> <i>yres
</i></p></td> 
 336 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 337        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 338 <tr valign=
"top" align=
"left"> 
 339 <td width=
"21%"></td> 
 341 <p>Set y/length resolution default.
</p> 
 345 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 346        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 347 <tr valign=
"top" align=
"left"> 
 348 <td width=
"10%"></td> 
 350 <p><b>−r
</b> [
<b>d
</b>|
<b>o
</b>]
</p></td> 
 353 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 354        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 355 <tr valign=
"top" align=
"left"> 
 356 <td width=
"21%"></td> 
 358 <p>Set 
<b>d
</b> for resolution default for images without
 
 359 resolution, 
<b>o
</b> for resolution override for all
 
 364 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 365        cols=
"5" cellspacing=
"0" cellpadding=
"0"> 
 366 <tr valign=
"top" align=
"left"> 
 367 <td width=
"11%"></td> 
 370 <p><b>−f
</b></p> 
 372 <td width=
"13%"></td> 
 375 <p>Set PDF 
‘‘Fit Window
’’ user
 
 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=
"10%"></td> 
 387 <p><b>−e
</b> <i>YYYYMMDDHHMMSS
</i></p></td> 
 390 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 391        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 392 <tr valign=
"top" align=
"left"> 
 393 <td width=
"21%"></td> 
 395 <p>Set document information date, overrides image or current
 
 396 date/time default, 
<i>YYYYMMDDHHMMSS.
</i></p> 
 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=
"10%"></td> 
 405 <p><b>−c
</b> <i>creator
</i></p></td> 
 408 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 409        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 410 <tr valign=
"top" align=
"left"> 
 411 <td width=
"21%"></td> 
 413 <p>Set document information creator, overrides image
 
 414 software default.
</p> 
 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=
"10%"></td> 
 423 <p><b>−a
</b> <i>author
</i></p></td> 
 426 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 427        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 428 <tr valign=
"top" align=
"left"> 
 429 <td width=
"21%"></td> 
 431 <p>Set document information author, overrides image artist
 
 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=
"10%"></td> 
 441 <p><b>−t
</b> <i>title
</i></p></td> 
 444 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 445        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 446 <tr valign=
"top" align=
"left"> 
 447 <td width=
"21%"></td> 
 449 <p>Set document information title, overrides image document
 
 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=
"10%"></td> 
 459 <p><b>−s
</b> <i>subject
</i></p></td> 
 462 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 463        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 464 <tr valign=
"top" align=
"left"> 
 465 <td width=
"21%"></td> 
 467 <p>Set document information subject, overrides image image
 
 468 description default.
</p> 
 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=
"10%"></td> 
 477 <p><b>−k
</b> <i>keywords
</i></p></td> 
 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=
"21%"></td> 
 485 <p>Set document information keywords.
</p> 
 489 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 490        cols=
"5" cellspacing=
"0" cellpadding=
"0"> 
 491 <tr valign=
"top" align=
"left"> 
 492 <td width=
"11%"></td> 
 495 <p><b>−h
</b></p> 
 497 <td width=
"13%"></td> 
 500 <p>List usage reminder to stderr and exit.
</p> 
 505 <a name=
"EXAMPLES"></a> 
 508 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 509        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 510 <tr valign=
"top" align=
"left"> 
 511 <td width=
"10%"></td> 
 513 <p>The following example would generate the file output.pdf
 
 514 from input.tiff.
</p></td> 
 517 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 518        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 519 <tr valign=
"top" align=
"left"> 
 520 <td width=
"20%"></td> 
 522 <pre>tiff2pdf 
−o output.pdf input.tiff
 
 528 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 529        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 530 <tr valign=
"top" align=
"left"> 
 531 <td width=
"10%"></td> 
 533 <p>The following example would generate PDF output from
 
 534 input.tiff and write it to standard output.
</p></td> 
 537 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 538        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 539 <tr valign=
"top" align=
"left"> 
 540 <td width=
"20%"></td> 
 542 <pre>tiff2pdf input.tiff
 
 548 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 549        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 550 <tr valign=
"top" align=
"left"> 
 551 <td width=
"10%"></td> 
 553 <p>The following example would generate the file output.pdf
 
 554 from input.tiff, putting the image pages on a letter sized
 
 555 page, compressing the output with JPEG, with JPEG quality
 
 556 75, setting the title to
 
 557 ‘‘Document
’’, and setting the
 
 558 ‘‘Fit Window
’’ option.
</p></td> 
 561 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 562        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 563 <tr valign=
"top" align=
"left"> 
 564 <td width=
"20%"></td> 
 566 <pre>tiff2pdf 
−p letter 
−j 
−q 
75 −t 
"Document
" −f 
−o output.pdf input.tiff
 
 574 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 575        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 576 <tr valign=
"top" align=
"left"> 
 577 <td width=
"10%"></td> 
 579 <p>Please report bugs via the web interface at
</p> 
 583 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 584        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 585 <tr valign=
"top" align=
"left"> 
 586 <td width=
"20%"></td> 
 589 <p>http://bugzilla.remotesensing.org/enter_bug.cgi?product=libtiff
</p> 
 592 <a name=
"SEE ALSO"></a> 
 595 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 596        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 597 <tr valign=
"top" align=
"left"> 
 598 <td width=
"10%"></td> 
 600 <p><b>libtiff
</b>(
3), 
<b>tiffcp
</b>(
1),
 
 601 <b>tiff2ps
</b>(
1)
</p> 
 603 <p>Libtiff library home page:
 
 604 <b>http://www.remotesensing.org/libtiff/
</b></p>