LinuxCommandLibrary

pstoedit

Convert PDF files into various image formats.

TLDR

Convert a PDF page to PNG or JPEG format

$ pstoedit -page [page_number] -f magick [path/to/file.pdf] [page.png|page.jpg]]
copy


Convert multiple PDF pages to numbered images
$ pstoedit -f magick [path/to/file] [page%d.png|page%d.jpg]
copy

Copied to clipboard