1pdftoppm(1) General Commands Manual pdftoppm(1)
2
3
4
6 pdftoppm - Portable Document Format (PDF) to Portable Pixmap (PPM) con‐
7 verter (version 3.00)
8
10 pdftoppm [options] PDF-file PPM-root
11
13 Pdftoppm converts Portable Document Format (PDF) files to color image
14 files in Portable Pixmap (PPM) format, grayscale image files in Porta‐
15 ble Graymap (PGM) format, or monochrome image files in Portable Bitmap
16 (PBM) format.
17
18 Pdftoppm reads the PDF file, PDF-file, and writes one PPM file for each
19 page, PPM-root-nnnnnn.ppm, where nnnnnn is the page number.
20
22 Pdftoppm reads a configuration file at startup. It first tries to find
23 the user's private config file, ~/.xpdfrc. If that doesn't exist, it
24 looks for a system-wide config file, /etc/xpdf/xpdfrc. See the
25 xpdfrc(5) man page for details.
26
28 Many of the following options can be set with configuration file com‐
29 mands. These are listed in square brackets with the description of the
30 corresponding command line option.
31
32 -f number
33 Specifies the first page to convert.
34
35 -l number
36 Specifies the last page to convert.
37
38 -r number
39 Specifies the resolution, in DPI. The default is 150 DPI.
40
41 -mono Generate a monochrome PBM file (instead of a color PPM file).
42
43 -gray Generate a grayscale PGM file (instead of a color PPM file).
44
45 -t1lib yes | no
46 Enable or disable t1lib (a Type 1 font rasterizer). This
47 defaults to "yes". [config file: enableT1lib]
48
49 -freetype yes | no
50 Enable or disable FreeType (a TrueType / Type 1 font raster‐
51 izer). This defaults to "yes". [config file: enableFreeType]
52
53 -aa yes | no
54 Enable or disable font anti-aliasing. This defaults to "yes".
55 [config file: antialias]
56
57 -opw password
58 Specify the owner password for the PDF file. Providing this
59 will bypass all security restrictions.
60
61 -upw password
62 Specify the user password for the PDF file.
63
64 -q Don't print any messages or errors. [config file: errQuiet]
65
66 -v Print copyright and version information.
67
68 -h Print usage information. (-help and --help are equivalent.)
69
71 The Xpdf tools use the following exit codes:
72
73 0 No error.
74
75 1 Error opening a PDF file.
76
77 2 Error opening an output file.
78
79 3 Error related to PDF permissions.
80
81 99 Other error.
82
84 The pdftoppm software and documentation are copyright 1996-2004 Glyph &
85 Cog, LLC.
86
88 xpdf(1), pdftops(1), pdftotext(1), pdfinfo(1), pdffonts(1), pdfim‐
89 ages(1), xpdfrc(5)
90 http://www.foolabs.com/xpdf/
91
92
93
94 22 January 2004 pdftoppm(1)