[email protected]$ sudo apt-get install poppler-utilsTo extract images is simple, just fire the command:
[email protected]$ pdfimages [pdffile] [directory]The second parameter is the directory that the extracted images will be saved. So the example would be
[email protected]$ pdfimages example.pdf /tmpThis command will save the images under ppm format by default. To save images in JPEG/JPG format, use the -j option:
[email protected]$ pdfimages -j example.pdf /tmp