cd /news/developer-tools/i-got-tired-of-googling-resize-compr… · home topics developer-tools article
[ARTICLE · art-26802] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I got tired of Googling "resize,compress ,optimize image online " so I built a CLI for it

A developer built ImageX, a cross-platform CLI tool for batch image processing tasks like resizing, compressing, converting to WebP, and stripping metadata. The tool uses interactive menus and a plugin architecture where each feature is a separate Python file. It is available via pip and welcomes contributions.

read1 min publishedJun 14, 2026

Every time I need to resize a batch of images, strip metadata, or convert to WebP, I end up in the same loop:

Or I open GIMP. Or I write yet another 10-line Pillow script that I'll lose by tomorrow.

So I built ImageX. It's the dumbest, simplest thing:

pip install imagex
cd ~/Pictures # works cross-platform with Python installed
imagex

A menu pops up. Pick what you want. Done. No uploads, no ads, no "premium" upsells.

Rotate, resize, convert, compress, watermark, strip metadata, rename batch, add noise. That covers 90% of what I ever need. Each one is an interactive prompt , no flags or command to memorize.

Every feature is its own .py

file in a folder. Drop a new one in with a NAME

, DESCRIPTION

, and a run()

function, and it shows up in the menu automatically. That's it.

NAME = "Rotate"
DESCRIPTION = "Rotate images 90° Left, 90° Right, or 180°"

def run(file, output_path, args):
    img = Image.open(file)
    rotated = img.transpose(args["method"])
    rotated.save(output_path)
    return True

Added in 20 lines. No config, no registration, no boilerplate.

If you've ever thought "I should make an open source PR someday" — this is a great place to start. The codebase is small, pure Python + Pillow, no framework, no build system. Adding a feature is literally writing one file. Want to add auto-color correction? Blur? Border? Side-by-side merge? Go for it.

pip install imagex

PRs welcome. Even if it's just a feature in 20 lines.

── more in #developer-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-got-tired-of-googl…] indexed:0 read:1min 2026-06-14 ·