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
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4959bb5a5b8bfe25ef2a5eb24575efca0406455e01ef961aa824086436a21710
|
|
| MD5 |
52977750c9ac1c22b70d8eb2564083a5
|
|
| BLAKE2b-256 |
e2e6504bf671ddd9cbfbefe30feb144d024ae435b22d019e9116375c2f8c37cf
|