Skip to content

Instantly share code, notes, and snippets.

@knugie
Created April 9, 2022 05:49
Show Gist options
  • Save knugie/7b03d4ea8e4159f203d81679990657bf to your computer and use it in GitHub Desktop.
Save knugie/7b03d4ea8e4159f203d81679990657bf to your computer and use it in GitHub Desktop.
Split PDF into JPEGs
gs -dNOPAUSE -sDEVICE=jpeg -r300 -dJPEGQ=100 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile="document-%02d.jpg" "document.pdf" -dBATCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment