12

I am reviewing the answer here about Extracting embedded images from a PDF. It is not in Homebrew.


How can you install pdfimages in OS X El Capitan?

11

You can install via Homebrew with the following command:

brew install poppler
  • Can pdf2image be the same command as pdfimages? – Léo Léopold Hertz 준영 May 6 '16 at 9:21
  • @Masi sorry my mistake. I update my answer. – jherran May 6 '16 at 9:50
  • Can poppler be the same as pdfimages? – Léo Léopold Hertz 준영 May 6 '16 at 13:47
  • 1
    Yes. The package contains pdfimages. – jherran May 6 '16 at 13:48
5

Another command-line program that can extract bitmap images from PDF files is the command-line version of the Unarchiver app called 'unar'. (Doesn't need Homebrew or anything to install.) The command is simply unar filename.pdf

http://unarchiver.c3.cx/commandline

(The original GUI-based Unarchiver.app does this as well.)

  • Do you have any idea how well Unar does with vector images? – Léo Léopold Hertz 준영 May 6 '16 at 13:48
  • Unar doesn't convert vector to bitmap images, nor does it save individual document pages. – Dictionarics Anonymous May 6 '16 at 15:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .