5 comments

[ 2.7 ms ] story [ 21.5 ms ] thread
>WASM based

png encoder feels about 100x slower than native (didnt measure, but took over a minute vs 1 second)

Took 3 seconds on my ancient Mac Mini.
optipng, set effort to 9
I have tried compressing several PNG images, felt pretty much instant. I normally use trimage but this has definitely more features.
Definitely interesting... would love to see this as a library that can be used inside Node.