Extract images in PDF without affecting the resolution

imagespdf

My problem is I am tasked to extract images from a 640-paged PDF file.

Majority of which are charts and tables with texts. Doing a simple copy and paste makes the image lose its resolution and the texts becomes blurry and sometimes unreadable.

Do you know of a better way to extract images from a PDF file without affecting the resolution?

Best Answer

From the XPDF suite (which is Free & Open Source Software) you can use pdfimages.exe CLI tool to extract all images from a PDF, or just all images from a range of pages. Here an example to extract all images from pages 33-36:

pdfimages.exe ^
  -f 33 ^
  -l 36 ^
  -j ^
   c:/path/to/input.pdf ^
   c:/path/to/directory/input_images

The -j will try to extract embedded JPEG images as JPEGs. All other images are output as PPMs (portable pixmaps). Attention, PPMs are totally uncompressed!

Related Question