compare WebP and SVGZ

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

-svgz

with default or right settings, SVG and lossy compression could do competition with lossy WebP (default) 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
lab - PNG lab - cwebp lab - svgz lossy
300.14 KB 66.34 KB (0.16s) 37.18 KB (0.13s)
dssim - butteraugli 0.00100984 - 3.728334 0.00074106 - 3.604733
original file: 3.png (215.81 KB): svgz container and lossy compression
original WebP (cwebp default) pingo -svgz
demo - original demo - cwebp demo - svgz lossy
215.81 KB 44.01 KB (0.16s) 30.32 KB (0.18s)
dssim - butteraugli 0.00083266 - 7.248628 0.00051593 - 5.789756
original file: chrome.png (193.77 KB): svgz container and lossy compression
original WebP (cwebp default) pingo -svgz=80
chrome - original chrome - cwebp chrome - svgz lossy
193.77 KB 42.52 KB (0.13s) 32.92 KB (0.11s)
dssim - butteraugli 0.00089974 - 4.811656 0.00068665 - 4.767655

-svgz-auto

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-auto
firefox - original firefox - webp 100 firefox - webp 100 pre 4 firefox - svgz-auto
316.95 KB 104.05 KB (0.10s) 111.09 KB (0.13s) 79.15 KB (0.17s)
dssim - butteraugli 0.00091667 - 7.829506 0.00054867 - 6.202096 0.00098199 - 3.948467

-svgz-hq

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-hq=80
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