CLI tool for responsive image processing
Project description
ipro
CLI tool for responsive image processing — resize, convert, rename, and chain operations from the command line.
Install
pipx install ipro-cli
# or
pip install ipro-cli
Commands
| Command | Description |
|---|---|
ipro info |
Image metadata — dimensions, format, EXIF, aspect ratio |
ipro resize |
Resize by width or height, preserving aspect ratio |
ipro convert |
Convert between JPEG, PNG, WebP, with quality control |
ipro rename |
Fix extensions, add EXIF date prefix |
ipro extract |
Extract frames from MPO, GIF, APNG, WebP, TIFF |
Quick Examples
# Inspect an image
ipro info photo.jpg
# Resize to 1080px wide
ipro resize photo.jpg --width 1080
# Convert HEIC to JPEG
ipro convert photo.heic --format jpeg --quality 85
# Convert to WebP for web optimization
ipro convert photo.jpg --format webp --quality 80
# Chain commands: convert then resize in one pass
ipro convert photo.heic --format jpeg --quality 80 + resize --width 1080
# Batch process a directory
for img in *.jpg; do ipro resize "$img" --width 1500; done
Format Support
Read: JPEG, PNG, HEIC/HEIF, WebP, GIF, TIFF, BMP, DNG, MPO, APNG Write: JPEG, PNG, WebP
Features
- Chain commands with
+—resize + convertin a single pass - Smart upscaling prevention — skips sizes larger than the original
- Lanczos resampling for high-quality output
- Automatic sRGB color profile conversion
- EXIF stripping by default for web optimization
- Supports iPhone HEIC photos via pillow-heif
Requirements
- Python 3.8+
Links
License
MIT
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 Distribution
ipro_cli-1.6.0.tar.gz
(55.5 kB
view details)
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
ipro_cli-1.6.0-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file ipro_cli-1.6.0.tar.gz.
File metadata
- Download URL: ipro_cli-1.6.0.tar.gz
- Upload date:
- Size: 55.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
374e549c2cf34b14cafc87b107024a64c35661932c68755e72f4737289d841dc
|
|
| MD5 |
4b8d23a05f7694f8b158ebc8d867391c
|
|
| BLAKE2b-256 |
57b31fcaf80194fdf979bff0f5539bdf2b8cdcd57eef5ab78cdefba7f926513b
|
File details
Details for the file ipro_cli-1.6.0-py3-none-any.whl.
File metadata
- Download URL: ipro_cli-1.6.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab71bc11168116f83766b0fadd7a86a824fc1280febe009b1f1536e1af8f6be6
|
|
| MD5 |
df2ac7faa26169ff0c5e4248ad4af58e
|
|
| BLAKE2b-256 |
ef3c026f3e20c081996aa1998666e5cc7cf401bee5dc3ed56a6bc1c47992e36b
|