HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pstoedit — Convert PDF files into various image formats. More information: <http://www.calvina.de/pstoedit/psto

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandvariousfilesconvertpstoeditclipdfinto
linux

Problem

How to use the pstoedit command: Convert PDF files into various image formats. More information: <http://www.calvina.de/pstoedit/pstoedit.htm>.

Solution

pstoedit — Convert PDF files into various image formats. More information: <http://www.calvina.de/pstoedit/pstoedit.htm>.

Convert a PDF page to PNG or JPEG format:
pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg}}


Convert multiple PDF pages to numbered images:
pstoedit -f magick {{path/to/file}} {{page%d.png|page%d.jpg}}

Code Snippets

Convert a PDF page to PNG or JPEG format

pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg}}

Convert multiple PDF pages to numbered images

pstoedit -f magick {{path/to/file}} {{page%d.png|page%d.jpg}}

Context

tldr-pages: linux/pstoedit

Revisions (0)

No revisions yet.