Comment

Comment by AGDNoob

Built this because every image optimizer I found was either slow, bloated, or a subscription. Squish takes a folder of images, compresses them, done. ~4400 lines of C++, no dependencies, custom JPEG encoder with AVX2 (scalar fallback for older CPUs), threaded, atomic writes. 77-95 MB/s on 6 cores. Had to harden it pretty hard after the first version would have crashed on any machine without AVX2. Now handles OOM, symlink loops, path traversal, the works. MIT licensed, happy to answer questions
parent AGDNoob 9 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton