pdftoppm Command for Batch Converting PDF to Image Files on macOS

Tadashi Shigeoka ·  Fri, October 9, 2020

I’ll introduce the pdftoppm command for batch converting PDF to image files on macOS.

Background: Method for Batch Converting PDF to Image Files

When I was looking for a way to batch convert PDF to image files to extract only the necessary pages for summarizing corporate IR information for personal use, I found that it could be achieved using the pdftoppm command.

Batch Converting PDF to jpeg, png with pdftoppm

Installing pdftoppm

First, install poppler to use pdftoppm.

brew install poppler

pdftoppm Command for Batch Converting PDF to jpeg

pdftoppm -jpeg input.pdf image-name

pdftoppm Command for Batch Converting PDF to png

pdftoppm -png input.pdf image-name

Other Uses of pdftoppm

pdftoppm -h

That’s all from the Gemba, for those who want to batch convert PDF to image files on macOS.

Reference Information