Friday, July 15, 2011

Ubuntu - convert pdf to images (resolution selectable)

nice command line tool:
pdftoppm

creates one image (png, jpeg pbm or pgm) per page.

e.g. if source.pdf has two pages
pdftoppm -png -r 600 source.pdf target
creates 2 images, solution: 600 DPI, file names: target-01.png, target-02.png

No comments :

Post a Comment