Linux

Categorized | cli

Convert PDF to JPEG in Linux

If you want to convert some PDF files in JPEG format in Linux, you can use pdftoppm and ppmtojpeg. After you installed the two applications, do a

ppm file.pdf file.ppm

The result will be a PPM file for each page in the PDF. From here, to convert all PPM files in JPEG format do a

for file in *.ppm; do ppmtojpeg $file > ${file/.ppm/.jpg}; rm $file; done

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


Hi, Be the first leave some reply

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>