GitHub

Optimize your images
Like a Developer

Lightweight CLI tool for batch image optimization. Convert to WebP, resize, compress - all with one command. Cross-platform and non-destructive.

$ pip install pillow tqdm rich
$ git clone https://github.com/SamSeenX/imp-cli.git
$ cd imp-cli && chmod +x imp
$ ./imp ./photos --webp
$ git clone https://github.com/SamSeenX/imp-cli.git
$ cd imp-cli
$ pip install -r requirements.txt
$ python imp ./photos
# Download from GitHub releases
$ curl -L https://github.com/SamSeenX/imp-cli/archive/main.zip -o imp.zip
$ unzip imp.zip && cd imp-cli-main
$ pip install -r requirements.txt
View full installation instructions on GitHub →

Powerful Features. Zero Bloat.

Everything you need to optimize images efficiently.

🎨

Smart Compression

Efficiently compresses JPG and PNG files. Convert to WebP for up to 80% smaller files with one flag.

📐

Intelligent Resizing

Resize images to specific dimensions while preserving aspect ratio. Perfect for web optimization.

📂

Batch Processing

Recursively scans directories to process thousands of images in one go. Visual progress tracking included.

🛡️

Non-Destructive

Automatically backs up originals. Restore, backup, or clean with built-in cross-platform commands.

👁️

Preview Mode

Use --pre to preview changes and estimated savings without modifying any files.

💻

Cross-Platform

Works on macOS, Linux, and Windows. Pure Python with minimal dependencies.

Simple & Intuitive

Basic Optimization

imp ./photos

Convert to WebP

imp ./gallery --webp

Resize for Web

imp ./assets --resize 1920

Preview Changes

imp ./images --pre

Restore Originals

imp ./photos --restore

Full Options

imp . --webp --resize 1080 --quality 75