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.5.1.tar.gz
(55.1 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.5.1-py3-none-any.whl
(16.1 kB
view details)
File details
Details for the file ipro_cli-1.5.1.tar.gz.
File metadata
- Download URL: ipro_cli-1.5.1.tar.gz
- Upload date:
- Size: 55.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee4a0b01419572ecaed9d83bab7001a2e03f69f311175849f004951e08cd68b7
|
|
| MD5 |
ed6568ad37c86eae37e1a52ce55d1431
|
|
| BLAKE2b-256 |
1af22cb6014b3edfa2e280af14fc9ab758a43450e1e5e2ca83293899732c1c71
|
File details
Details for the file ipro_cli-1.5.1-py3-none-any.whl.
File metadata
- Download URL: ipro_cli-1.5.1-py3-none-any.whl
- Upload date:
- Size: 16.1 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 |
62c0bd6f43ec686f3f7bffdc06df04c538a0de44f94a1be54e0623c0cd6135b3
|
|
| MD5 |
625598613cbe811a5cac5c737cc27d95
|
|
| BLAKE2b-256 |
78504000425453239d7ebd9cd1a940ad9a46e71ed382fd5e2026fca8a9500a83
|