compare WebP and SVGZ

last modified on 30 July 2019, by Cédric Louvrier

with default or right settings, SVG and lossy compression could do competition with lossy WebP regarding the quality/filesize ratio. it could be better or worse according to the sample

original file: lab.png (300.14 KB): svgz container and lossy compression
original WebP (cwebp default) pingo -svgz=16
lab - PNG lab - cwebp lab - svgz lossy
300.14 KB 66.34 KB (0.16s) 39.06 KB (0.13s)
dssim - butteraugli 0.00100984 - 3.728334 0.00082322 - 3.416768
original file: 3.png (215.81 KB): svgz container and lossy compression
original WebP (cwebp default) pingo -svgz=16
demo - original demo - cwebp demo - svgz lossy
215.81 KB 44.01 KB (0.16s) 29.06 KB (0.18s)
dssim - butteraugli 0.00083266 - 7.248628 0.00064688 - 5.381466
original file: chrome.png (193.77 KB): svgz container and lossy compression
original WebP (cwebp default) pingo -svgz=68
chrome - original chrome - cwebp chrome - svgz lossy
193.77 KB 42.52 KB (0.13s) 41.91 KB (0.11s)
dssim - butteraugli 0.00089974 - 4.811656 0.00054431 - 3.336563
original file: firefox.png (316.95 KB): svgz container and lossy compression
original cwebp -mt -q 100 cwebp -mt -q 100 -pre 4 pingo -svgz=72
firefox - original firefox - webp 100 firefox - webp 100 pre 4 firefox - svgz 72
316.95 KB 104.05 KB (0.10s) 111.09 KB (0.13s) 80.54 KB (0.17s)
dssim - butteraugli 0.00091667 - 7.829506 0.00054867 - 6.202096 0.00128406 - 3.513296
original file: compass.png (362.60 KB): svgz container and lossy compression
original cwebp -mt -q 100 cwebp -mt -q 100 -pre 4 pingo -svgz=85
compass - original compass - webp 100 compass - webp 100 pre 4 compass - svgz-auto
362.60 KB 114.76 KB (0.09s) 121.03 KB (0.13s) 102.28 KB (0.22s)
dssim - butteraugli 0.00034933 - 4.934308 0.00032894 - 2.633502 0.00097683 - 1.860745