I'm using pdfimages to extract images from a PDF File. I've counted at last 10 images. But the program will only extract 4.

pdfimages -all file.pdf i


-rw-rw-r--    1 victor victor   61389 Jul 14 21:48 i-000.png
-rw-rw-r--    1 victor victor      88 Jul 14 21:48 i-001.png
-rw-rw-r--    1 victor victor    5226 Jul 14 21:48 i-002.png
-rw-rw-r--    1 victor victor   95657 Jul 14 21:48 i-003.png

Am I missing some setting?

How can I extract all images?

  • My version of pdfimages allows this parameter... " -all : equivalent to -png -tiff -j -jp2 -jbig2 -ccitt" – Victor Marconi Jul 15 '16 at 1:19
  • 4
    How do you know that the PDF has more than 4 images? pdfimages only retrieve raster images, vector based images (e.g. eps) are not touched by pdfimages. – grochmal Jul 15 '16 at 2:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.