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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gs_pdf_compress-0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gs_pdf_compress-0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4959bb5a5b8bfe25ef2a5eb24575efca0406455e01ef961aa824086436a21710
MD5 52977750c9ac1c22b70d8eb2564083a5
BLAKE2b-256 e2e6504bf671ddd9cbfbefe30feb144d024ae435b22d019e9116375c2f8c37cf

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