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.

link|improve this question
I am really curious about those commands and where can one execute them – RoboLover Jun 1 '11 at 10:40
feedback

migrated from stackoverflow.com Jun 1 '11 at 11:30

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

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

3 Answers

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

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

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

link|improve this answer
interesting stuff – RoboLover Jun 1 '11 at 10:41
feedback

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).

link|improve this answer
feedback