imgcmprs
imgcmprs is a fast and safe command-line tool to efficiently compress JPEG and PNG images—supporting both lossless and lossy modes, for single files or entire directories.
🚀 Features
- Lossless & Lossy Compression: Supports both lossless and lossy compression for JPEG and PNG images.
- Batch & In-Place Modes: Process many files at once or compress in-place.
- Recursive Directory Processing: Optionally traverse and compress entire directory trees.
- CLI Simplicity: Intuitive command-line interface with helpful flags.
- Safe by Design: Original files are always preserved unless you choose to delete them post-compression.
📦 Installation
Python 3.7+ is required.
Install from PyPI:
pip install imgcmprs
Install from source (in editable or user-local mode):
pip install -e .
# Or
pip install --user .
🤝 Contributing
We welcome all contributions! To get started:
- Fork this repository on GitHub.
- Clone your fork and create a feature branch.
- Implement your changes, write clear commit messages, and add tests if possible.
- Open a pull request with a thorough description of what you've changed.
For bug reports or feature requests, please open an issue.
Thank you for making imgcmprs better!
— Made with ❤️ by Eyad Mohammed, from Egypt
Metadata
Release files for imgcmprs 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imgcmprs-0.1.2.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imgcmprs-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / imgcmprs-0.1.2.tar.gz
| Download URL | imgcmprs-0.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9a4e6852df00fe6dc41a642b2ad26cf51cab2a44b8280b64ed1b937fcab6ae0
|
|
BLAKE2b-256 checksum How to use checksums |
af3974b73c55868ed07a8b36166bc65a74c126cf90be37267be6a1caeee1385a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / imgcmprs-0.1.2-py3-none-any.whl
| Download URL | imgcmprs-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcfad7c6b99e311a67392521b1c235ad4d254231c4304f580808c8b483cffa4c
|
|
BLAKE2b-256 checksum How to use checksums |
08a3b284c341677bc999ebb7b7dec3405939521cd301efe25290fb96c4364a8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|