Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 01 Oct 14:58
· 12 commits to main since this release

pdf-squeezer compresses PDF files from the command line.

  • --engine pdfcpu (default) removes redundant objects and compresses document structure. It needs no other software and leaves images as they are.
  • --engine ghostscript rewrites the PDF through Ghostscript and downsamples images. Pick --quality screen, ebook (default), printer, or prepress.
  • The input stays unchanged. The CLI refuses to overwrite an existing output file and copies the original bytes when compression would not shrink it.
  • -o sets the output path, -V reports each step on stderr, -v prints the version.

Changes since v0.1.0: --help lists each flag once, in alphabetical order, with short forms beside long forms, and states that the output directory must already exist.

Attached: binaries for Linux (amd64, arm64), macOS (amd64, arm64), and Windows (amd64), plus SHA-256 sums in checksums.txt.

Full Changelog: v0.1.0...v0.1.1