1pdftoppm(1)                 General Commands Manual                pdftoppm(1)
2
3
4

NAME

6       pdftoppm - Portable Document Format (PDF) to Portable Pixmap (PPM) con‐
7       verter (version 3.00)
8

SYNOPSIS

10       pdftoppm [options] PDF-file PPM-root
11

DESCRIPTION

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

OPTIONS

22       -f number
23              Specifies the first page to convert.
24
25       -l number
26              Specifies the last page to convert.
27
28       -r number
29              Specifies the X and Y resolution, in DPI.  The  default  is  150
30              DPI.
31
32       -rx number
33              Specifies the X resolution, in DPI.  The default is 150 DPI.
34
35       -ry number
36              Specifies the Y resolution, in DPI.  The default is 150 DPI.
37
38       -scale-to number
39              Scales each page to fit in scale-to*scale-to pixel box.
40
41       -scale-to-x number
42              Scales each page horizontally to fit in scale-to-x pixels.
43
44       -scale-to-y number
45              Scales each page vertically to fit in scale-to-y pixels.
46
47       -x number
48              Specifies the x-coordinate of the crop area top left corner
49
50       -y number
51              Specifies the y-coordinate of the crop area top left corner
52
53       -W number
54              Specifies the width of crop area in pixels (default is 0)
55
56       -H number
57              Specifies the height of crop area in pixels (default is 0)
58
59       -sz number
60              Specifies the size of crop square in pixels (sets W and H)
61
62       -mono  Generate a monochrome PBM file (instead of a color PPM file).
63
64       -gray  Generate a grayscale PGM file (instead of a color PPM file).
65
66       -png   Generates a PNG file instead a PPM file.
67
68       -freetype yes | no
69              Enable  or  disable  FreeType  (a TrueType / Type 1 font raster‐
70              izer).  This defaults to "yes".
71
72       -aa yes | no
73              Enable or disable font anti-aliasing.  This defaults to "yes".
74
75       -aaVector yes | no
76              Enable or disable vector anti-aliasing.  This defaults to "yes".
77
78       -opw password
79              Specify the owner password for the  PDF  file.   Providing  this
80              will bypass all security restrictions.
81
82       -upw password
83              Specify the user password for the PDF file.
84
85       -q     Don't print any messages or errors.
86
87       -v     Print copyright and version information.
88
89       -h     Print usage information.  (-help and --help are equivalent.)
90

EXIT CODES

92       The Xpdf tools use the following exit codes:
93
94       0      No error.
95
96       1      Error opening a PDF file.
97
98       2      Error opening an output file.
99
100       3      Error related to PDF permissions.
101
102       99     Other error.
103

AUTHOR

105       The pdftoppm software and documentation are copyright 1996-2004 Glyph &
106       Cog, LLC.
107

SEE ALSO

109       pdftops(1), pdftotext(1), pdfinfo(1), pdffonts(1), pdfimages(1),
110
111
112
113                                22 January 2004                    pdftoppm(1)
Impressum