pdfimages

Utility for extracting images from PDFs. More information: https://manned.org/pdfimages.

pdfimages -png path/to/file.pdf filename_prefix

pdfimages -f 3 -l 5 path/to/file.pdf filename_prefix

pdfimages -p path/to/file.pdf filename_prefix

pdfimages -list path/to/file.pdf