1
.\" Copyright 1998-2007 Glyph & Cog, LLC
2
.TH pdfimages 1 "27 February 2007"
4
pdfimages \- Portable Document Format (PDF) image extractor
12
saves images from a Portable Document Format (PDF) file as Portable
13
Pixmap (PPM), Portable Bitmap (PBM), or JPEG files.
15
Pdfimages reads the PDF file, scans one or more pages,
17
and writes one PPM, PBM, or JPEG file for each image,
18
.IR image-root - nnn . xxx ,
21
is the image number and
23
is the image type (.ppm, .pbm, .jpg).
25
NB: pdfimages extracts the raw image data from the PDF file, without
26
performing any additional transforms. Any rotation, clipping,
27
color inversion, etc. done by the PDF content stream is ignored.
28
.SH CONFIGURATION FILE
29
Pdfimages reads a configuration file at startup. It first tries to
30
find the user's private config file, ~/.xpdfrc. If that doesn't
31
exist, it looks for a system-wide config file, typically
32
/usr/local/etc/xpdfrc (but this location can be changed when pdfimages
37
Many of the following options can be set with configuration file
38
commands. These are listed in square brackets with the description of
39
the corresponding command line option.
42
Specifies the first page to scan.
45
Specifies the last page to scan.
48
Normally, all images are written as PBM (for monochrome images) or PPM
49
(for non-monochrome images) files. With this option, images in DCT
50
format are saved as JPEG files. All non-DCT images are saved in
51
PBM/PPM format as usual.
54
Specify the owner password for the PDF file. Providing this will
55
bypass all security restrictions.
58
Specify the user password for the PDF file.
61
Don't print any messages or errors.
62
.RB "[config file: " errQuiet ]
65
Print copyright and version information.
68
Print usage information.
74
The Xpdf tools use the following exit codes:
80
Error opening a PDF file.
83
Error opening an output file.
86
Error related to PDF permissions.
91
The pdfimages software and documentation are copyright 1998-2007 Glyph
102
.B http://www.foolabs.com/xpdf/