I need to extract all the images from a PDF file on my server. I don't want the PDF pages, only the images at their original size and resolution.
How could I do this with Perl, PHP or any other UNIX based app (which I would invoke with the exec function from PHP)?
pdfimages does just that. It's is part of the poppler-utils and xpdf-utils packages.
From the manpage: