Showing posts with label conversion. Show all posts
Showing posts with label conversion. Show all posts

Tuesday, February 14, 2012

JPG from PDF in Linux (ghostscript)

Renamed input.pdf for copy/paste
Put in Documents folder
Open Terminal in Documents Folder

gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dMaxStripSize=8192 -sOutputFile=output_%d.jpg input.pdf

Other options to try:

DEVICE=png16m
r300