Skip to content

Instantly share code, notes, and snippets.

@coderbyheart
Last active August 22, 2016 10:49
Show Gist options
  • Save coderbyheart/83373b5703ffadd27baa69e2a8df53e0 to your computer and use it in GitHub Desktop.
Save coderbyheart/83373b5703ffadd27baa69e2a8df53e0 to your computer and use it in GitHub Desktop.
Resample PDF with GhostScript
$ gs -sDEVICE=pdfwrite \
-dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dNOPAUSE \
-dQUIET \
-dBATCH \
-sOutputFile=output.pdf \
input.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment