Compress images on the web, with best-in-class image codes and inspect the differences. Even when offline.
➡️squoosh.app
Source code: github.com/GoogleChromeLabs/…
Pushed a new version of squoosh.app to live!
@kripken enabled closure compiler (`--closure 1`) on all codecs, reducing each glue code file by about ~50%, saving ~150KB in total 🎉
github.com/GoogleChromeLabs/…
Why not Chrome? Chrome’s optimizing compiler for WebAssembly currently takes >2s, potentially draining your mobile phone’s battery. So rather than blocking the PR for everyone, we used UA sniffing. Chrome users can opt-in via `?allow-hqx`.
crbug.com/974804
squoosh.app now includes hqx, a pixel-art upscaling algorithm.
Available in all* browsers!
*) except Chrome
(Shout-out to @CryZe107 for his hqx Rust library!)