Save images from a PDF

0

Possible Duplicate:
How to extract image from PDF file

I have a PDF with images.

I would like to save the images alone as JPG with the resolution as 300.

Please provide me the commands to execute this in Windows.

AMER

Posted 2011-06-01T10:34:18.500

Reputation:

Question was closed 2011-06-01T14:24:14.353

I am really curious about those commands and where can one execute them – Bastardo – 2011-06-01T10:40:19.807

Answers

1

ImageMagick may be the tool you're looking for (there are Windows binaries available here):

 convert -resample 300x300 infile.pdf outfile%d.jpg

Friar Tuck

Posted 2011-06-01T10:34:18.500

Reputation:

1

Doing a quick google using "command line pdf utility" gives you a few options, some being:

Stephen Gennard

Posted 2011-06-01T10:34:18.500

Reputation: 111

interesting stuff – Bastardo – 2011-06-01T10:41:46.917

1

a question like this one is asked on Super User before, and this is the question How to extract image from PDF file.Below is an answer with commands:

If you download XPDF for Windows (here), you'll find a few .exe files inside. You can run them without "installation". Use pdfimages.exe like this:

pdfimages.exe -help

This displays the help screen.

pdfimages.exe ^

-j ^
c:\path\to\your.pdf ^
c:\path\to\where\you\want\images\prefix

This extracts all JPEGs as prefix-00N.jpg, and all the other images as prefix-00N.ppm (Portable PixMap).

pdfimages.exe ^

-j ^
-f 11 ^
-l 13 ^
c:\path\to\your.pdf ^
c:\path\to\where\you\want\images\prefix

Same as before, but limits image extraction to pages 11 ('f' = first) to 13 ('l' = last).

Bastardo

Posted 2011-06-01T10:34:18.500

Reputation: 111