SVGZ and lossy compression

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

convert JPG to PNG (with filter)

original file: image-optimisation.jpg (254.14 KB): JPG to PNG conversion with more colors
original pingo -pngconvert=8 -pngpalette=100
hand - original hand - original
254.14 KB 63.84 KB (0.78s)

how to optimize PNG losslessly for web

original file: rose.png (70 KB): remove non-rendered image data
original file pingo -s1
rose rose - pingo
70 KB (3.49s) 31.95 KB (0.13s) - PNG

optimize WebP losslessly for web (or PNG to WebP lossless)

original file: zephyr.png (866.12 KB) — paletted WebP encoding
cwebp -mt -lossless -m 6 -q 100 pingo -webp-lossless -s1 pingo -webp-lossless -s4
zephyr - cwebp brute force zephyr - pingo webp s1 zephyr - pingo webp s4
788.06 KB (14.417s) 697.76 KB (1.231s) 672.82 KB (2.989s)

convert PNG to JPG

original file: fruits-iccp-noalpha.png (385.09 KB): PNG to JPG (conversion to sRGB colorspace)
original pingo -jpgconvert
fruits - sRGB PhotoShop fruits - sRGB pingo auto
385.09 KB 67.83 KB (0.12s) - JPG
iCCP chunk (colors profile) converted to sRGB

WebP alternative near-lossless image compression (filter)

original file: orange.png (222.65 KB): alternative near-lossless WebP (lossy)
original pingo -webp-filter=40
orange - original orange - webp near lossless 50
222.65 KB 86.25 KB (0.32s)
dssim - butteraugli 0.00089928 - 2.105718

convert PNG image to sRGB colour space

original file: green-apple-iccp.png (69.91 KB): convert an image to sRGB with additional loss (lossy filter)
original pingo -pngfilter
green apple - original green apple - pingo
69.91 KB 38.71 KB (0.12s) - PNG
iCCP chunk (colors profile) converted to sRGB

reduce the number of colours without conversion to palette (PNG)

original file: music.png (67.20 KB) — PNG color quantization
original pingo -pngrgb
music - original music - pngrgb
67.20 KB — 26103 colors 36.98 KB (0.22s) — 5023 colors
dssim — butteraugli 0.00053465 — 2.482823

WebP near-lossless image compression

original file: tweet-coffee.png (54.01 KB): alternative near-lossless WebP (lossy)
original pingo -webp-near=100
tweet cofee - original tweet cofee - webp near lossless 100
54.01 KB 35.78 KB (0.28s)
dssim - butteraugli 0.00003282 - 1.040261