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 -ooutput.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

OPTIONS

71       -ooutput-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       -qquality
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       -ppaper-size
92              Set paper size, eg "letter", "legal", "A4".
93
94       -u[i|m]
95              Set distance unit, i for inch, m for centimeter.
96
97       -wwidth
98              Set width in units.
99
100       -llength
101              Set length in units.
102
103       -xxres Set x/width resolution default.
104
105       -yyres Set y/length resolution default.
106
107       -r[d|o]
108              Set  d  for  resolution default for images without resolution, o
109              for resolution override for all images.
110
111       -f     Set PDF "Fit Window" user preference.
112
113       -eYYYYMMDDHHMMSS
114              Set  document  information  date,  overrides  image  or  current
115              date/time default, YYYYMMDDHHMMSS.
116
117       -ccreator
118              Set  document  information  creator,  overrides  image  software
119              default.
120
121       -aauthor
122              Set document information author, overrides image artist default
123
124       -ttitle
125              Set document information title, overrides  image  document  name
126              default
127
128       -ssubject
129              Set document information subject, overrides image image descrip‐
130              tion default
131
132       -kkeywords
133              Set document information keywords.
134
135       -h     List usage reminder to stderr and exit.
136
137
138       EXAMPLES
139
140       The  following  example  would  generate  the  file   output.pdf   from
141       input.tiff.
142
143              tiff2pdf -o output.pdf input.tiff
144
145       The  following  example  would  generate PDF output from input.tiff and
146       write it to standard output.
147
148              tiff2pdf input.tiff
149
150       The  following  example  would  generate  the  file   output.pdf   from
151       input.tiff, putting the image pages on a letter sized page, compressing
152       the output with JPEG, with JPEG quality 75, setting the title to "Docu‐
153       ment", and setting the "Fit Window" option.
154
155              tiff2pdf  -p  letter  -j  -q  75  -t "Document" -f -o output.pdf
156              input.tiff
157

BUGS

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

SEE ALSO

164       libtiff(3), tiffcp(1), tiff2ps(1)
165
166       Libtiff library home page: http://www.remotesensing.org/libtiff/
167
168
169
170libtiff                        November 2, 2005                    TIFF2PDF(1)
Impressum