lundi 29 avril 2013

How to convert PDF to Image? Linux

  1. Install imagemagickInstall imagemagick
  2. Using a terminal where the pdf located: convert file.pdf file.png (.png or .jpg or any other format). will create file-1.png ... file-i.png ... file-n.png where n the number of pages.

or using the poppler-utils packages containing the utility pdftoppm capable of converting pages from a pdf file to ppm, png or jpeg format:
pdftoppm -png file.pdf prefix
will produce prefix-01.png etc. for each page.