Skip to content

Instantly share code, notes, and snippets.

@claudius108
Created December 20, 2022 13:15
Show Gist options
  • Save claudius108/3e5e6504c0e12b2be7e46735eb41fd3c to your computer and use it in GitHub Desktop.
Save claudius108/3e5e6504c0e12b2be7e46735eb41fd3c to your computer and use it in GitHub Desktop.
Linearize PDF file with GhostScript
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -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