Friday, May 09, 2008

Convert a pdf to jpg/jpeg files in Hardy Heron

apt-get install imagemagick

then

convert -density 200x200 file.pdf file.jpg

Each page will be saved in a separate jpg file (file-0.jpg, file-1.jpg etc).

No comments: