Lossless by default
PNG, JPEG and GIF files come out with the same pixels and the same colour profile. Nothing is resized or converted to another format.
Presso shrinks PNG, JPEG and GIF files without visible change, on Linux servers and Macs. One command, the same result everywhere, and safe to run in a build or on uploads.
Example output in Presso’s real format, with made-up file names. Nothing on your device is read or changed.
An optimiser that runs unattended has to be boring. These are the rules Presso keeps.
PNG, JPEG and GIF files come out with the same pixels and the same colour profile. Nothing is resized or converted to another format.
A file is replaced by a rename in the same folder, and only when the new copy is valid and smaller.
A missing tool or an unreadable file is reported and skipped. Only presso check exits 1, and only for files that aren’t optimised.
Finished files are remembered by content hash, so running it again over the same assets takes no time.
presso check changes nothing and exits 1 if any file would shrink by 2% or more.
It calls the same open tools on both (oxipng, jpegoptim, gifsicle), so a build gives the same bytes wherever it runs.
With --lossy, Presso also tries pngquant and JPEG quality 88. Then it decodes the original and the copy itself and compares them. The copy is kept only if it passes all three tests.
On a set of 26 real app icons and screenshots, Presso accepted 6 lossy copies (53–68% smaller, similarity 0.995 to 0.9997) and refused the rest. The patch limit is why: a lossy tool can flatten one small, faint area while the average still looks fine.
A lossy replacement keeps its original, and presso restore puts it back.
presso optimise web/Lossless: same pixels, smaller filespresso optimise --lossy uploads/Also lossy copies, kept only if they passpresso check web/For tests and CI; changes nothingpresso restore photo.pngPut back the original of a lossy replacementpresso doctorWhich tools are installed, and how to install the rest--dry-runShow what would change--jsonOne object per file, then a summaryPNG, JPEG and GIF. GIFs are only ever optimised losslessly.
Video, PDF, WebP and AVIF output, resizing, watching a folder for new uploads, and a Mac app. Presso does none of these today.
Clop is a Mac app that optimises what you copy, drop or save, and it is lossy by default. Presso is for the places Clop can’t run: servers, CI and build scripts. It was written from scratch; no Clop code is used.
The release is a single file with no runtime to install. It calls oxipng, jpegoptim and gifsicle, plus pngquant and djpeg for --lossy. presso doctor lists what’s missing and the command to install it.
node_modules, .git, .build, DerivedData, .venv and .cache are never entered.
Yes. presso skill install writes a skill file for Claude Code, Codex, Cursor and OpenCode, so an agent knows the commands, runs a dry run first and asks before using --lossy.
Single-file binaries for Linux and macOS (x64 and arm64), mirrored directly from Piper with SHA-256 verification. No Bun or GitHub access needed.
curl -fsSL https://piper.sydney/downloads/install/presso.sh | bash
Every published release, newest first, taken from the release notes. 3 releases so far.
presso watch <folder> for upload folders. A file that changes while it is being optimised is never replaced.presso doctor lists the image tools to install (apt-get install -y oxipng jpegoptim gifsicle pngquant libjpeg-turbo-progs qpdf webp, or brew install oxipng jpegoptim gifsicle pngquant jpeg-turbo qpdf webp).presso skill install | status | remove | show teaches AI coding tools (Claude Code, Codex, Cursor, OpenCode) to use presso. It writes a SKILL.md into each installed tool's skills folder, is safe to repeat, previews with --dry-run, reports with --json, and never touches a skill it did not write (exit 3). The install script runs it for you.presso doctor lists the image tools to install (apt-get install -y oxipng jpegoptim gifsicle pngquant libjpeg-turbo-progs, or brew install oxipng jpegoptim gifsicle pngquant jpeg-turbo).--lossy copies that are kept only when a similarity check passes. presso check for CI, presso restore, presso doctor.presso doctor lists the image tools to install (apt-get install -y oxipng jpegoptim gifsicle pngquant libjpeg-turbo-progs, or brew install oxipng jpegoptim gifsicle pngquant jpeg-turbo).