PDF to multiple jpg's?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

To convert a multipage PDF to multiple JPEG images, use this command:
  • convert -density 400x400 image.pdf -resize 25% image-%d.jpg
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

You may also like to see IM Examples, Writing a Multi-Image Sequence
http://www.cit.gu.edu.au/~anthony/graph ... #write_seq
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
sonusdream

Post by sonusdream »

i tried executing this

Code: Select all

convert multi.pdf output-%d.jpg
and it doesnt seem to be working. i only get 1 jpg output (the first page on the pdf file)

This are the other infos that you may need:

OS : Windows XP
ImageMagick : 6.2.9
Ghostscript: 8.54

hope you can help me with this


regards,
sonus
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Check your delgates.xml configuration file and make sure your ps:color device is pnmraw and not psdrgb. If that fails, grab ImageMagick 6.3.0-2, the latest release. It should work for you.
Post Reply