Hacker News new | ask | show | jobs
by dvirsky 4350 days ago
Read the doc - the suggested x5 improvement is compared to PNG, which is the only other way to currently solve the problem of an icon with transparent edges (let's leave GIF aside), not compared to JPEG. The gain compared to JPEG was about 50%.
2 comments

If they compared PNG with lossless WebP the difference would be small (lossless WebP is still using gzip, just with smarter preprocessing).

When you compare with lossy WebP, then the right thing is to use lossy PNG as well.

I can make lossy PNG 4 times smaller than what you get from Photoshop (http://pngmini.com), so that'd make the comparison more fair, and the difference less dramatic.

The person you're replying to wrote a library which does lossy PNG compresssion which would be ideal for these use cases:

https://github.com/pornel/pngquant