3 ms·
There are a few ways of making fully backwards-compatible "lossy" PNG: http://pngmini.com/lossypng.html http://pngmini.com/lossypng.html You can have icon file
by pornel 12y ago
There are a few ways of making fully backwards-compatible "lossy" PNG: http://pngmini.com/lossypng.html http://pngmini.com/lossypng.html
You can have icon files 3-4 times smaller, and large photorealistic images 2 times smaller than the regular PNG.
- ZeroGravitas 12y agoThe hover effect on your demo images confused me. I assumed it would switch between the original and the compressed version. Instead it's swapping out the background to demonstrate transparency, which could probably be made more obvious.
- cpncrunch 12y agoAlso you can use svg, which is supported by the current versions of all browsers today, and the files will likely be smaller than webp, jpeg or png.
- dvirsky 12y agoRendering icons as SVGs is pretty horrible in terms of performance on mobile devices.