Home » Questions » Computers [ Ask a new question ]

Ubuntu 8.04: convert PDF document to one JPG per page

Ubuntu 8.04: convert PDF document to one JPG per page

I want to convert a PDF document that spans multiple pages to 1 JPG per page.

Asked by: Guest | Views: 299
Total answers/comments: 1
Guest [Entry]

"Assuming that imagemagick is installed:

convert -quality 100 -density 600x600 multipage.pdf single%d.jpg

The -density option defines the
quality the pdf is rendered before
the convert > here 600dpi. For high
quality prints you can increase that
number.
The %d just before the jpg
suffix is for automatic numbering of
the output pages 0,1,2...
The -quality option defines the compression quality of the output jpg
(0 min ... 100 max)
The .jpg suffix
defines the output format. You could
use .png/.jpg/.pdf

From http://ubuntuforumsdotorg/showpost.php?p=5560488&postcount=20"