We can use the Linux command tool pdfimages to extract the images from the pdf file pages.

To extract all image we can use this:

The your_input.pdf is your pdf file.

The images-out it’s the output name of the images.

The images will be saved with the name image-out like :

We can select the images just from pages we want by using option:

This tells to extract just from starting page number: -f to ending page number -l.

If the pdf file is password locked than we can pass the password using the option -upw.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.