Skip to main content

PDFCompress

Compress PDF files using Ghostscript.

Requirements

  • Python 3
  • PyQT 6
  • Ghostscript

Installation

Archlinux

$ yay -S gs-pdf-compress

from PyPI

$ pipx install gs-pdf-compress

from source or wheel package

$ pipx install <package_file>

Usage

Command line

$ ./pdfcompress.py -h
usage: pdfcompress.py [-h] [-i INPUT] [-o OUTPUT] [-c {screen,ebook,prepress,printer,default}]
[-f] [--version]Compress a PDF file using Ghostscript.options:
-h, --help            show this help message and exit
-i, --input INPUT     Path to the input PDF file (default: None)
-o, --output OUTPUT   Path to the output compressed PDF file (default: None)
-c, --compression {screen,ebook,prepress,printer,default}
Compression level: default, screen (72 dpi), ebook (150 dpi), printer
(300 dpi), prepress (highest) (default: default)
-f, --force           Force overwrite of output file without confirmation (default: False)
--version             show program's version number and exit

QT Interface

screenshot

Metadata

Release files for gs-pdf-compress 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gs-pdf-compress 0.2.1
File Size Uploaded
gs_pdf_compress-0.2.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gs-pdf-compress 0.2.1
File Interpreter ABI Platform
gs_pdf_compress-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / gs_pdf_compress-0.2.1.tar.gz

Download URL gs_pdf_compress-0.2.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3ec2c6f9d9d4d0e57bf773f6f567476f95320c56244a808c60f6eb39177154e1
BLAKE2b-256 checksum
How to use checksums
6b1af3df04e8481943129d181ce8049725657ee572444e9b248757037700d697
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / gs_pdf_compress-0.2.1-py3-none-any.whl

Download URL gs_pdf_compress-0.2.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45d8faf61d3ea5a689966caf09e3716b1f6e133f07ef3b4d551d429939d21606
BLAKE2b-256 checksum
How to use checksums
db406e0d151c416736e9370b55f8675af6b8cd9df539c01bb51d384b1f37fcfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page