👨🎨🎨 impressify
Project description
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
- : Path to an image or directory containing images.
- : 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 impressify-1.3.tar.gz.
File metadata
- Download URL: impressify-1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c01fd20260e1340f5a8aa36d3200c2a9ecc392db9937dce7bc54886f4b078bc0
|
|
| MD5 |
0aae6876ebfd0cba2db60ff29c8e874f
|
|
| BLAKE2b-256 |
4505509be9510564074cccd1307a0b7c288e55167ca43ebea4022ec200374edd
|
File details
Details for the file impressify-1.3-py3-none-any.whl.
File metadata
- Download URL: impressify-1.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654ee82221d723f7b014a3e05ee997f9ef56876ab7bd950a3f6b6cca0407f27a
|
|
| MD5 |
1b35d46cf0577df97321d07786aa5ec8
|
|
| BLAKE2b-256 |
44e1ae4491bcde6a0311cea73ae45d570c2f8f230826742d9418e16efa6a9cc9
|