source: main/trunk/binaries/windows/bin/xpdf-tools/doc/pdftoppm.txt@ 32207

Last change on this file since 32207 was 32207, checked in by ak19, 6 years ago

Got a basic Windows version of PDFPlugin's new paged_html mode working

File size: 3.4 KB
Line 
1pdftoppm(1) General Commands Manual pdftoppm(1)
2
3
4
5NAME
6 pdftoppm - Portable Document Format (PDF) to Portable Pixmap (PPM) con-
7 verter (version 4.00)
8
9SYNOPSIS
10 pdftoppm [options] PDF-file PPM-root
11
12DESCRIPTION
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. If PPM-
20 root is '-', the image is sent to stdout (this is probably only useful
21 when converting a single page).
22
23CONFIGURATION FILE
24 Pdftoppm reads a configuration file at startup. It first tries to find
25 the user's private config file, ~/.xpdfrc. If that doesn't exist, it
26 looks for a system-wide config file, typically /usr/local/etc/xpdfrc
27 (but this location can be changed when pdftoppm is built). See the
28 xpdfrc(5) man page for details.
29
30OPTIONS
31 Many of the following options can be set with configuration file com-
32 mands. These are listed in square brackets with the description of the
33 corresponding command line option.
34
35 -f number
36 Specifies the first page to convert.
37
38 -l number
39 Specifies the last page to convert.
40
41 -r number
42 Specifies the resolution, in DPI. The default is 150 DPI.
43
44 -mono Generate a monochrome PBM file (instead of an RGB PPM file).
45
46 -gray Generate a grayscale PGM file (instead of an RGB PPM file).
47
48 -cmyk Generate a CMYK PAM file (instead of an RGB PPM file).
49
50 -freetype yes | no
51 Enable or disable FreeType (a TrueType / Type 1 font raster-
52 izer). This defaults to "yes". [config file: enableFreeType]
53
54 -aa yes | no
55 Enable or disable font anti-aliasing. This defaults to "yes".
56 [config file: antialias]
57
58 -aaVector yes | no
59 Enable or disable vector anti-aliasing. This defaults to "yes".
60 [config file: vectorAntialias]
61
62 -opw password
63 Specify the owner password for the PDF file. Providing this
64 will bypass all security restrictions.
65
66 -upw password
67 Specify the user password for the PDF file.
68
69 -q Don't print any messages or errors. [config file: errQuiet]
70
71 -v Print copyright and version information.
72
73 -h Print usage information. (-help and --help are equivalent.)
74
75EXIT CODES
76 The Xpdf tools use the following exit codes:
77
78 0 No error.
79
80 1 Error opening a PDF file.
81
82 2 Error opening an output file.
83
84 3 Error related to PDF permissions.
85
86 99 Other error.
87
88AUTHOR
89 The pdftoppm software and documentation are copyright 1996-2017 Glyph &
90 Cog, LLC.
91
92SEE ALSO
93 xpdf(1), pdftops(1), pdftotext(1), pdftohtml(1), pdfinfo(1), pdf-
94 fonts(1), pdfdetach(1), pdftopng(1), pdfimages(1), xpdfrc(5)
95 http://www.xpdfreader.com/
96
97
98
99 10 Aug 2017 pdftoppm(1)
Note: See TracBrowser for help on using the repository browser.