How we test
Every number on this site, whether a file size, a percentage or a quality score, comes from running PixelPare’s own tools on the photos below. Nothing is copied from marketing material.
The test photos
We use five photos that anyone can download and reuse, from the scikit-image sample collection:
| Name | Size | Subject | Source and licence |
|---|---|---|---|
| Astronaut | 512×512 | Portrait of astronaut Eileen Collins | NASA, public domain |
| Coffee | 600×400 | Espresso cup on a wooden table | Rachel Michetti, CC0 |
| Cat | 451×300 | Close-up of a tabby cat | Stefan van der Walt, CC0 |
| Rocket | 640×427 | Falcon 9 launch | SpaceX, public domain |
| Hubble | 1000×872 | Hubble eXtreme Deep Field | NASA, public domain |
The rocket and Hubble images were originally distributed as JPGs. We decode them once and treat the decoded pixels as the original. We also test a 1280×800 PNG screenshot of our own home page, because screenshots behave very differently from photos.
Method
- Each photo is decoded to raw pixels in Chromium and encoded with the exact WebAssembly codec files PixelPare serves (MozJPEG, libwebp, libavif and OxiPNG), using the same settings as the tools.
- We record the file size in bytes. Sizes are shown with 1 KB = 1,024 bytes, matching what the tools display.
- We decode each result and compare it with the original using SSIM (structural similarity, from scikit-image), where 1.0 means identical. SSIM tracks perceived quality better than simple pixel differences.
- To compare formats fairly, we compare file sizes at the same SSIM, interpolating between JPEG quality levels. Comparing “quality 75” across formats would be misleading, because the number means different things in each encoder.
- Tool behaviour such as target-size compression, resizing and EXIF removal is tested through the real web pages in an automated browser. For EXIF removal we confirm that every pixel of the cleaned file matches the original.
- The negative converter is tested on negatives simulated from known photos with a film model (orange base, per-channel density curves), so we know what the correct result should be.
Limitations
- Five photos are a small sample. Your images may compress more or less, especially very large phone photos or images with lots of text.
- SSIM is a useful guide, not a replacement for your own eyes. That’s why every tool has a before/after slider.
- Browser versions change. We re-run the tests when we update the codecs, and note it on the What’s new page.
Spotted something that doesn’t match your results? Email hello@pixelpare.com.