I had a 140 page PDF and wanted each page as an image. Each page happened to be a scanned image, so it was as simple as extracting all images from the PDF.
Install PDF utilities sudo apt-get install poppler-utils
Save images as jpg using pdfimages pdfimages -j file.pdf imagename
You can also save as ppm images, which are larger than jpg but are lossless pdfimages file.pdf imagename
No comments:
Post a Comment