What sort of library would be recommended for lossy png compression while retaining alpha layer.
I use kraken.io a lot but would like to work it more into a workflow.
I know a lot about lossless compression but I'm at a loss with how they do lossy.
If you literally want a library, then libimagequant (I think that's what kraken.io uses).
There's also mediancut posterizer that achieves lossy compression by preprocessing. It's much more effective than posterization in Photoshop or ImageMagick.
Description of lossy PNG methods on ImageAlpha website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With