|
|
|
|
|
by AGDNoob
131 days ago
|
|
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 |
|