PNG to SVGZ

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=90
hand - original hand - original
254.14 KB 67.10 KB (0.64s)

lossy filtering (PNG)

original file: strawberry.png (276.89 KB): PNG lossy filtering
original pingo -pngfilter=1
strawberry - original strawberry - pngfilter 1
276.89 KB 88.19 KB (0.37s)
dssim - butteraugli 0.00151770 - 3.148625

WebP nigh-lossless image compression

original file: chair.png (175.86 KB): alternative near-lossless WebP (lossy)
original cwebp -mt -near_lossless 99 -m 6 pingo -webp-nigh=60 -s9
chair - original chair - cwebp 99 chair - webp color 60
175.86 KB 112.44 KB (0.52s) 82.57 KB (0.29s)
dssim - butteraugli 0.00003258 - 1.086502 0.00013308 - 1.097308

convert JPG image to sRGB colour space (including CMYK)

original file: cmyk.jpg (714.46 KB): convert JPG CMYK to sRGB (lossy)
original pingo -auto
cmyk - original cmyk - converted to srgb
714.46 KB 70.83 KB (0.21s)
CMYK converted to sRGB

JPG subsampling (chroma subsampling)

original file: rvb.png chroma subsampling
(default) -jpgsub
rvb - sample 0 rvb - sample 2
47.44 KB (quality 100) 33.38 KB (quality 100)
1x1,1x1,1x1 (4:4:4) 2x2,1x1,1x1 (4:2:0)

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

convert image data to paletted (256 colors max) (PNG)

original file: tweet-book-write.png (50.69 KB): PNG image data to paletted
original pingo -pngpalette=100
tweet book write - original tweet book write - pngpalette
50.69 KB — 15804 colors 15.78 KB (0.14s) — 256 colors
dssim — butteraugli 0.00050033 — 2.769763

lossy WebP compression (from lib)

original file: flowersp.png (346.52 KB): lossy WebP
original pingo -webp-lossy=100
flowersp - original flowersp - webp lossy 100
346.52 KB 147.89 KB (0.10s)
dssim - butteraugli 0.00018437 - 1.524791

(demo) interlaced image data

interlaced image data
no interlaced interlaced
deflate - png deflate interlaced - png
152.47 KB 143.37 KB