Extracting images from PDF

Roger Burton West roger at firedrake.org
Tue Nov 28 14:16:28 GMT 2006


On Tue, Nov 28, 2006 at 01:43:20PM +0000, Andy Armstrong wrote:
>Somebody must have done this... I have a PDF from which I'd like to extract all 
>the bitmap images. That's got to be easy, right? xpdf? ghostscript?

Dead easy. Install the xpdf utilities, and:

pdfimages -f <firstpage> -l <lastpage> -j foo.pdf foo

will produce foo-000.ppm (or .jpg) etc.

R


More information about the london.pm mailing list