I have a pdf with an image in it, that pdf was given to me by a coworker and they asked me if I could extract that image, because we need it for a project and we can't find the freelancer that created that pdf. Is there a way to extract that image, in a really high resolution using a program? If so, which one would you suggest?


You can use pdfimages from the Xpdf tools (available from the site of XpdfReader). It will not convert a whole PDF page to an image, rather it will extract embedded images from a PDF.

This is useful if the PDF contains text and images, and you want only the images. Also, it will extract the images in their original format, so no loss of quality is involved (unlike programs which render the whole page and then convert it to e.g. JPEG). Depending on your needs this might be useful.

Simple usage:

pdfimages -j -list mydocument.pdf mydocument-images

This will read the input file mydocument.pdf, extract all images and write them to individual files named mydocument-images-0000.jpg, mydocument-images-0001.jpg etc.

Option -j makes it write embedded JPEG-compressed images as JPEG files, not as PBM/PGM/PPM files (which are uncompressed and huge). Note that images may still be written as PBM/PGM/PPM files, if that's how they were stored in the PDF input file.

Copied from my answer on SuperUser

|improve this answer|||||

In case someone has a similar problem:

  1. I downloaded the 7-day free trial of Adobe Photoshop (in my case it was a one-time thing)
  2. I selected [Image > Image Size] and changed the dpi from 96 to 300 (with re-sampling unchecked)
  3. Saved my file to a .tif format
|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.