ImageMagick: Convert PDF to Images

/ Published in: Bash
Save to your folder(s)

If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code.

This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.

Copy this code and paste it in your HTML
  1. convert -density 150 -quality 100 -resize 800x "file.pdf" "result.jpg"


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.