Skip to main content

Compress PDF files with Ghostscript

Project description

PDFCompress

Compress PDF files using Ghostscript.

Requirements

  • Python 3
  • PyQT 6
  • Ghostscript

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gs_pdf_compress-0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gs_pdf_compress-0.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file gs_pdf_compress-0.2.tar.gz.

File metadata

  • Download URL: gs_pdf_compress-0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gs_pdf_compress-0.2.tar.gz
Algorithm Hash digest
SHA256 9ef80f3a90c91b48c2b11a3d1cdb0eeb49d899cb255cf85d554a5f0e47c8391f
MD5 57f8026545a9c36619da34e17e4fd887
BLAKE2b-256 a6e8f2911f5b0aca72b8588b02e2e0d561ceb5211dbbb64795f548dfc17c9ec5

See more details on using hashes here.

File details

Details for the file gs_pdf_compress-0.2-py3-none-any.whl.

File metadata

  • Download URL: gs_pdf_compress-0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gs_pdf_compress-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26df8790d828f736f1ce8d61c76814bf8af92b55edf350afdbd42e78f1377f99
MD5 3ae7e915d5a601d158fec144b2909579
BLAKE2b-256 8b9a7179f8ad6adff64f05c8988f662ec4f3f55898ff5aade72e4c61d2c26381

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page