Skip to content

Instantly share code, notes, and snippets.

@spyesx
Created January 24, 2020 04:20
Show Gist options
  • Save spyesx/4364e7bcfec0caf8c4fee3c758fa40d3 to your computer and use it in GitHub Desktop.
Save spyesx/4364e7bcfec0caf8c4fee3c758fa40d3 to your computer and use it in GitHub Desktop.
Optimize PDF size by changing it's density
# https://explainshell.com/explain?cmd=convert+-density+200x200+-quality+60+-compress+jpeg+input.pdf+output.pdf
convert -density 200x200 -quality 60 -compress jpeg input.pdf output.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment