1pdfimages(1) General Commands Manual pdfimages(1)
2
3
4
6 pdfimages - Portable Document Format (PDF) image extractor (version
7 3.00)
8
10 pdfimages [options] PDF-file image-root
11
13 Pdfimages saves images from a Portable Document Format (PDF) file as
14 Portable Pixmap (PPM), Portable Bitmap (PBM), or JPEG files.
15
16 Pdfimages reads the PDF file PDF-file, scans one or more pages, and
17 writes one PPM, PBM, or JPEG file for each image, image-root-nnn.xxx,
18 where nnn is the image number and xxx is the image type (.ppm, .pbm,
19 .jpg).
20
22 Pdfimages reads a configuration file at startup. It first tries to
23 find the user's private config file, ~/.xpdfrc. If that doesn't exist,
24 it 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 scan.
34
35 -l number
36 Specifies the last page to scan.
37
38 -j Normally, all images are written as PBM (for monochrome images)
39 or PPM (for non-monochrome images) files. With this option,
40 images in DCT format are saved as JPEG files. All non-DCT
41 images are saved in PBM/PPM format as usual.
42
43 -opw password
44 Specify the owner password for the PDF file. Providing this
45 will bypass all security restrictions.
46
47 -upw password
48 Specify the user password for the PDF file.
49
50 -q Don't print any messages or errors. [config file: errQuiet]
51
52 -v Print copyright and version information.
53
54 -h Print usage information. (-help and --help are equivalent.)
55
57 The Xpdf tools use the following exit codes:
58
59 0 No error.
60
61 1 Error opening a PDF file.
62
63 2 Error opening an output file.
64
65 3 Error related to PDF permissions.
66
67 99 Other error.
68
70 The pdfimages software and documentation are copyright 1998-2004 Glyph
71 & Cog, LLC.
72
74 xpdf(1), pdftops(1), pdftotext(1), pdfinfo(1), pdffonts(1),
75 pdftoppm(1), xpdfrc(5)
76 http://www.foolabs.com/xpdf/
77
78
79
80 22 January 2004 pdfimages(1)