Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

pdf pages to images imagemagick

# Requires having ghostscript(download at www.ghostscript.com)
# Using ghostscript + imagemagick
convert -density 150 presentation.pdf -quality 90 output-%3d.jpg
# Using ghostscript alone (faster and more efficient)
gswin64c.exe -dNOPAUSE -sDEVICE=jpeg -r200 -dJPEGQ=60 -sOutputFile=foo-%03d.jpg foo.pdf -dBATCH
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pdf #pages #images #imagemagick
ADD COMMENT
Topic
Name
3+4 =