
JPEG
17.13 kB- Size versus source
- 72.2%
- Mean RGB difference
- 0.6 / 255
- Changed RGB pixels
- 94.037%
- Configured quality
- 80%
( Reproducible first-party test )
Three files exported by the real editor from the same image, without adjustments or resizing. Compare appearance, size, and pixel differences without treating one sample as a universal rule.
Project-owned PNG source: 23.72 kB, 1200×800 px. Percentages below compare only each output's size with that source.



How to read “changed pixels”: JPEG and WEBP can modify many pixels by a very small amount. The changed-pixel percentage must therefore be read with the mean per-channel difference, not as a percentage of quality loss.
Useful for photographs without transparency. In this test, the 80% output was smaller than the PNG source and changed pixels through compression.
Suitable when transparency or exact pixel retention matters. For this image, it was the largest output but reproduced the source RGB without differences.
Can produce compact web files. At 80% in this test, it was the smallest output; that is not a guarantee for other images.
npm run dev -- --port 3218
npm run comparison:formatsWhen analyzing lossy output formats like JPEG and WEBP (when the browser supports it), a crucial technical distinction exists between mathematical pixel variance and human visual perception. In this benchmark, both JPEG at 80% and WEBP at 80% altered over 95% of pixels by a small margin, yet the mean absolute RGB difference remained below 2.0 on an 8-bit scale of 0 to 255. In normal viewing conditions on standard sRGB displays, subtle color shifts of 1 or 2 levels across adjacent pixels are practically imperceptible to the naked eye.
JPEG achieves its substantial file reduction (over 70% smaller than the uncompressed PNG in this sample) by converting RGB data into the YCbCr color space, downsampling chroma channels (typically 4:2:0), and applying Discrete Cosine Transform (DCT) quantization across 8×8 pixel blocks. High-frequency visual details that human vision is least sensitive to are quantized first, producing compact files with negligible perceived degradation.
WEBP, when supported by the client browser, improves on legacy DCT by employing intra-frame predictive coding borrowed from the VP8 video codec. By predicting pixel blocks from adjacent neighbor pixels and encoding only the residual error, WEBP achieved the smallest file footprint in this test. PNG, by contrast, preserves exact original values through reversible filtering and DEFLATE compression, making it essential for line art, text overlays, and transparency.
Complete guides and tools for format conversion, KB compression, and EXIF metadata removal.