Extract Images from a PDF File in Linux

How to extract the images from a PDF file in Linux?

You may use the pdfimages tool.

To output jpg images from a PDF ./a.pdf, run

pdfimages -j ./a.pdf ./images

./images is the output images’ prefix. The images in ./a.pdf will be extracted and saved as ./images-nnn.jpg.

-j options make pdfimages generate JPEG files.

Leave a Reply

Your email address will not be published. Required fields are marked *