Skip to main content

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:

  1. Fork this repository on GitHub.
  2. Clone your fork and create a feature branch.
  3. Implement your changes, write clear commit messages, and add tests if possible.
  4. 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)

Source distribution for imgcmprs 0.1.2
File Size Uploaded
imgcmprs-0.1.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imgcmprs 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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