pdfimages
pdfimages is a command-line utility used to extract embedded images from PDF files without re-encoding or rendering the pages. It is distributed with the Xpdf project and is also included in the Poppler-utils package used on many Linux distributions. The program scans the PDF for image objects and saves each image as a separate file, preserving the original image data whenever possible.
The tool is useful for salvaging graphics or photos from PDFs. By default, non-JPEG images are saved
Key options include -list to print information about all images embedded in the PDF, -f and -l
Typical usage is: pdfimages [options] input.pdf image-root. For example, pdfimages -list document.pdf lists all embedded images;