Impressify 🎨👨🎨
Impressify is a Python-based CLI tool for image resizing and optimization. It simplifies the process of batch resizing and compressing images, making them suitable for web use, thumbnails, or any application requiring efficient image handling.
Features ✨
- Batch Resizing: Process entire directories of images at once.
- Format Support: Compatible with
.png,.jpg, and.jpegformats. - Quality Control: Specify output quality (1-100).
- Optimized Output: Use advanced optimization for smaller file sizes without compromising quality.
- Customizable Output: Define custom output paths and control overwriting behavior.
- CLI Friendly: Simple and intuitive command-line interface.
Installation 📦
To install Impressify, ensure you have Python 3.9+ and Poetry installed, then run:
pip install impressify
Usage 🚀
CLI Commands
Run the tool from the command line with the following syntax:
impressify <path> <size> [--output <output_path>] [--quality <quality>] [--optimize] [--overwrite]
Arguments
- : Target size (max dimension in pixels) for resizing.
Optional Flags
- --output: Custom output directory for resized images.
- --quality: Image quality (default: 80, range: 1-100).
- --optimize: Optimize images for reduced size (default: enabled).
- --overwrite: Overwrite existing files (default: disabled).
- --progressive: progressive jpeg.
Github Actions
- name: 🥦 Install impressify
run: pip install impressify
- name: 🥒 Resize
run: |
impressify moscow/imgs 100
impressify moscow/imgs 220
Examples
Resize a Single Image
impressify /path/to/image.jpg 300 --quality 90 --optimize
Batch Resize Images in a Directory
impressify /path/to/images/ 500 --output /path/to/output/ --overwrite
Resize with Default Settings
impressify /path/to/image.png 200
Requirements 📋
- Python >= 3.9
- Pillow >= 11.0.0
License 📜
Impressify is released under the MIT License. See the LICENSE file for details.
Metadata
Release files for impressify 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| impressify-1.3.1.tar.gz | 3.5 kB | Without provenance | Details for impressify-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| impressify-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for impressify-1.3.1-py3-none-any.whl |
Total release size: 7.6 kB
Release files / impressify-1.3.1.tar.gz
| Download URL | impressify-1.3.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d3f714199a4fa7b3bbbd6b8d3ea2e0b3f2cfd2d93b0b1f3918049b227ef4cd5
|
|
BLAKE2b-256 checksum How to use checksums |
d76d3cd9aeff9017532ba2de09a50d51d04b9bb294f6e648af8c97db6fab6f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.11
|
Release files / impressify-1.3.1-py3-none-any.whl
| Download URL | impressify-1.3.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa76946dd841e026000155821d98cceaa4c6ed348509ebea37038bdc6801968b
|
|
BLAKE2b-256 checksum How to use checksums |
504f4ade1093320cfcf8b6f42732d24fe8cae709af0f0a425a1499b78852bdf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.11
|
Security for impressify 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.