Hacker News new | ask | show | jobs
by nerfhammer 1696 days ago
there are png optimizer programs, e.g. optipng
4 comments

The Squoosh (web) app is awesome for this too! All processing is done locally with wasm.

https://squoosh.app

Yep, just tried the Discord icon with OxyPNG and it went from 285k to 6.35k, visually indistinguishable.
I'd love to have a browser plugin that converts all images I upload to CMS using Squoosh.
`optipng -o9 -strip all' is a must
ImageOptim was a favorite of mine. They have a standalone mac app and a webservice. It combines several of these tools into a single GUI.
I found https://pngquant.org/ to be pretty good.
Note that unlike some of the other tools mentioned here, pngquant does lossy compression. Might still be the right tool in many cases, but it means you should check the output while e.g. optipng is a no-brainer to add to whatever your publishing pipeline is.
Warning: pngquant is GPL v3 licensed.