Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Jun 1 '11 at 11:30

This question came from our site for professional and enthusiast programmers.

marked as duplicate by sblair, Sathya Jun 1 '11 at 14:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I am really curious about those commands and where can one execute them – Bastardo Jun 1 '11 at 10:40

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

 convert -resample 300x300 infile.pdf outfile%d.jpg
share|improve this answer

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

share|improve this answer
interesting stuff – Bastardo Jun 1 '11 at 10:41

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 ^

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 ^

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

share|improve this answer