close

DEV Community

Cover image for ImageX hit 10 stars, got a contributor, and shipped 3 new features :) here's what happened
Kushal Baral
Kushal Baral

Posted on

ImageX hit 10 stars, got a contributor, and shipped 3 new features :) here's what happened

A couple weeks ago I posted about ImageX - a dumb little CLI that lets you edit images without googling "resize image online" for the hundredth time. If you haven't seen it, the tldr is: pip install imagex && imagex, a menu pops up, pick what you want, done.
No flags to memorize, no syntax to look up - just arrow keys and enter. Everything runs locally on your machine - no uploads, no server ever sees your images, no browser,no ads.

Honestly? Didn't expect much. But:

  • 10 stars on GitHub
  • 1 contributor already dropped a PR (Flip feature - thanks! :)
  • A bunch of feature requests in issues

So I kept building.


What's new in v0.3.0

Imagex Menu

Three features, one fix:

Grayscale / B&W - luminosity conversion or threshold-based true black & white. Slider for the threshold so you can dial in exactly how much black you want.

Invert Colors - instant negative. Handles RGBA without destroying alpha.

Flip - mirror horizontally, vertically, or both. (PR from a contributor!)

Plus: version check on startup (tells you when to upgrade), and all operations now preserve EXIF/ICC metadata instead of silently dropping it. Yeah, that was a bug. Fixed.


The code is still stupid simple

NAME = "Invert Colors"
DESCRIPTION = "Invert image colors (negative effect)"

def run(file, output_path, args):
    img = Image.open(file)
    # ... invert logic ...
    img.save(output_path)
    return True
Enter fullscreen mode Exit fullscreen mode

Links

PRs welcome. You could write a feature in the time it took to read this.

Top comments (0)