Thursday, July 7, 2016

Extract image from pdf file without quality loss to jpgs

Move in terminal to folder which contains the pdf file.
$pdfimages -j file.pdf page
This will leave you with .jpgs  for the image files 
and .pbm for the text pages.

Convert wit imagemagick installed the pbm files:
$convert *.pbm *.jpg
 


No comments:

Blog Archive