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

EXIT CODES

102       The Xpdf tools use the following exit codes:
103
104       0      No error.
105
106       1      Error opening a PDF file.
107
108       2      Error opening an output file.
109
110       3      Error related to PDF permissions.
111
112       99     Other error.
113

AUTHOR

115       The pdftoppm software and documentation are copyright 1996-2004 Glyph &
116       Cog, LLC.
117

SEE ALSO

119       pdftops(1), pdftotext(1), pdfinfo(1), pdffonts(1), pdfimages(1),
120
121
122
123                                22 January 2004                    pdftoppm(1)
Impressum