user@www$ sudo apt-get install poppler-utilsTo extract images is simple, just fire the command:
user@www$ pdfimages [pdffile] [directory]The second parameter is the directory that the extracted images will be saved. So the example would be
user@www$ 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:
user@www$ pdfimages -j example.pdf /tmp