.profile/notebook/Linux/Tools/pdf to image.md

288 B

tags
pdf

pdfimages

To extract individual original images from a PDF document:

pdfimages -png input.pdf prefix

pdftoppm

To convert the actual document to images (so kinda like taking screenshots, but better)

pdftoppm -png input.pdf output -r 300