Lossy Image Compressor with Preview
Compare a local image with its JPEG or WebP output at a shared zoom. Check actual size and measured pixel differences before downloading.
Compare JPEG and WebP at the Same Zoom
Lossy Image Compressor with Preview: how to use it
- Choose a local still image, JPEG or WebP output, and a quality setting.
- Compare compression. Inspect the same region with shared zoom and focus controls.
- Read actual sizes, windowed luma SSIM and mean RGB and alpha errors. Download the encoded result or try another quality.
Limits and notes
Still JPG, PNG or WebP up to 25 MB, 6 megapixels and 5,000 pixels per side. Output uses the displayed dimensions. The error values compare all browser-decoded pixels in sRGB. JPEG uses white beneath transparent pixels.
How your privacy works →Lossy Image Compressor with Preview: common questions
What does the mean RGB error measure?
It averages absolute differences across the red, green and blue channels after compositing each decoded image on white, on a scale from 0 to 255.
Does zoom affect the saved file or error calculation?
Zoom and focus only reposition the previews. The downloaded bytes and the full-frame comparisons stay the same.
How is the SSIM score calculated?
The tool compares sRGB luma over white in 8 × 8 windows. Each window has equal pixel weights and is weighted by its area in the final score. An identical luma image scores 1.
Does the quality number mean the same thing in JPEG and WebP?
Each encoder interprets quality separately. Compare the actual output, byte count and measured differences when choosing a format.