Darius Knowledge Hub

Home

❯

Compress pdfs using ghostscript

Compress pdfs using ghostscript

Jan 21, 20261 min read

  • knowledge
  • unix

Compress pdfs using ghostscript


Created: 03 Apr 2023, 06:23 PM | Modified: =dateformat(this.file.mtime,"dd MMM yyyy, hh:mm a") Tags: knowledge, unix


gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -dColorImageResolution=150 -sOutputFile=output.pdf someBigFile.pdf

From <https://opensource.com/article/20/8/reduce-pdf>

https://askubuntu.com/questions/113544/how-can-i-reduce-the-file-size-of-a-scanned-pdf-file


Graph View

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community