pixel

a terminal ui for images

Images,
sorted.

Resize, compress, crop, convert and strip location data from one photo or a whole folder, in a calm terminal app. The real magick command is always on screen.

A dusk landscape: layered violet mountains under a low sun, the original photo The same landscape after pixel web: visually identical original · 4032 × 2880 · JPEG · 3.3 MB pixel web · 1920 × 1371 · WebP · 22.4 KB
The same picture at about a hundred-and-fiftieth of the size. Drag to compare. $ pixel web dusk.jpg

install

curl -fsSL https://pixel.srlgpta.xyz/install.sh | sh

or go install github.com/saral-gupta7/pixel/cmd/pixel@latest · needs ImageMagick: brew install imagemagick

contact sheet

    $ magick photo.jpg -auto-orient -resize '1920x7680>' -strip -quality 80 photo-web.webp

    Whole folders

    Press a to mark every image, then watch a real progress bar count them through.

    Location, gone

    strip removes GPS and camera data before you share, losslessly with exiftool.

    Never overwrites

    Results land beside each original as IMG_2041-web.webp. Originals stay put.