CompressDog

Open data

The measurements behind the articles on this site, published as files you can download, check and reuse. Each one lists its sample size and says whether it contains per-file records or only aggregate statistics.

Everything on this page is available under CC BY 4.0. Use it for anything, including commercial work. The only condition is attribution: say where the numbers came from and link back to this page.

If you cite one of these, link to this page rather than to the JSON file. That way a reader can find the method, the sample size and the caveats.

JPEG encoder presets at quality 90

Five encoding presets compared on identical source images at the same quality setting.

Sample: 320 · 320 per-file records · Read the method

Download JSON

Quantisation tables across the quality range

The same two encoders at quality 40, 50, 60, 70 and 90, to find where the size curves cross.

Sample: 320 · 320 per-file records · Read the method

Download JSON

Lossless PNG recompression on 261 files

Real PNG files recompressed with oxipng, with a pixel-by-pixel comparison against the original.

Sample: 261 · 261 per-file records · Read the method

Download JSON

Image metadata across 1,086 JPEGs

How many real JPEG files carry EXIF, XMP, ICC profiles and usable GPS coordinates, and how large the metadata blocks are.

Sample: 1086 · aggregate only · Read the method

Download JSON

WebP round trip cost at quality 90

Each image encoded straight to JPEG versus through WebP and back, so the difference is the cost of the detour.

Sample: 320 · 320 per-file records · Read the method

Download JSON

Progressive versus baseline JPEG at quality 90

The same images encoded twice, changing only whether the scan is progressive, with a byte-for-byte pixel comparison.

Sample: 320 · 320 per-file records · Read the method

Download JSON

Metadata stripping on 4,000 real JPEG files

Byte-level removal of APPn and COM segments, with the segments removed from each file recorded and a pixel comparison before and after.

Sample: 4000 · 726 per-file records · Read the method

Download JSON

Resize versus lower quality at a fixed byte budget

320 images pushed under a 120 KB budget three ways: at full size, at three quarters, and at half. Each strategy searched for the highest quality that fit.

Sample: 320 · 320 per-file records · Read the method

Download JSON

PNG palette reduction across four kinds of artwork

181 real PNGs reduced to 256, 128, 64, 32 and 16 colours, with the file colour count recorded before any change.

Sample: 181 · 181 per-file records · Read the method

Download JSON

One quality number across two encoders

320 images encoded at five quality settings with libjpeg, compared against the same images encoded with mozjpeg at the same nominal settings.

Sample: ? · 320 per-file records · Read the method

Download JSON

Re-encoding a damaged JPEG at high quality

Files first compressed at quality 45, then re-saved at 90, measured against both the clean path and the damaged one.

Sample: 320 · 320 per-file records · Read the method

Download JSON

These are real measurements, not benchmarks: one collection of images, one encoder build, one machine. The articles describe what that does and does not generalise to.