Image Load Lab

Formats & Compression

Measured comparisons of JPEG, WebP, AVIF, PNG and SVG on a fixed corpus of 20 CC0 photographs, real screenshots and synthetic graphics. Each test reports the file size needed for the same visual quality (SSIMULACRA2, DSSIM and SSIM), shows enlarged crops so you can judge the artefacts yourself, and links the raw CSV data. Start with the format comparison if you are choosing a default format, or with the quality-by-image-type test if you already use WebP and want to know which setting to use.

WebP alphaQuality: How Low Can Transparency Go?

Lowering alphaQuality from 100 to 80 saved 5 to 15 % with near-exact transparency. At 50 soft shadows degraded, and for logos lossless WebP was smaller and perfect.

Formats & Compression 4 min read

SVG Icons: Separate Files, a Sprite or Inline?

Twenty icons took 20 requests and arrived at 883 ms as separate files, one request and 362 ms as a sprite, and no request as inline SVG, which added 2.2 KB to the HTML.

Formats & Compression 4 min read

CMYK JPEGs on the Web: File Size and Colour in Chrome

CMYK JPEGs were three to four times larger than sRGB versions without a profile, and up to 21 times larger with sharp's 939 KB print profile embedded. Their colours shifted visibly in Chrome.

Formats & Compression 3 min read

SVG and HTTP Compression: gzip vs Brotli on 28 Files

Our 28 SVG files shrank from 1,622 KB to 418 KB with gzip and 339 KB with Brotli, far more than SVGO alone saved. Our host compressed SVG automatically; here is how to check yours.

Formats & Compression 3 min read

SVGO on Real SVG Files: Savings and Visual Safety

SVGO cut public-domain SVGs from drawing programs by a median 21 to 38 % and by 15 to 18 % after Brotli, with no visible change in our renders. Files written by code saved only 2 to 4 %.

Formats & Compression 4 min read

oxipng Optimisation Levels: Bytes Saved vs Time

oxipng's default level 2 saved 12.6 % on screenshots in under a second per image. Higher levels added at most half a percent, and Zopfli one more percent for about a minute per file.

Formats & Compression 3 min read

PNG for Photos: How Much Bigger Than JPEG?

Saved as PNG, our 20 photos were a median 14.5 times the size of a MozJPEG at quality 85. Maximum PNG compression and lossless WebP still left them 8 to 10 times larger.

Formats & Compression 3 min read