Tested tool guide
Tested browser tools
Checked August 16, 2026
What Image Quality Comparison does, with a checked example
SSIM answers one question: after you re-encode an image, how far has it drifted from the original? Drop the original and a compressed copy (a JPEG export, a WebP conversion, a resized file) into this tool and it compares them with the Structural Similarity Index, which measures luminance, contrast, and local structure window by window and averages the results into a single score where 1.0 means indistinguishable. The surprise is how low good scores sit: 0.98 is typical for compression already visible on smooth gradients, not a sign of trouble. Everything runs locally; nothing is uploaded.
Worked example
A concrete input and expected output from the current implementation.
Input
Two images to compare: an original 2x2 grayscale block with pixel values (50, 60, 70, 80) and its recompressed copy (52, 58, 72, 78).
->
Expected output
SSIM ~ 0.986. Both blocks have mean 65; with L = 255, K1 = 0.01, K2 = 0.03, the score is (2*65*65 + 6.5025)(2*115 + 58.5225) / (65^2 + 65^2 + 6.5025)(125 + 109 + 58.5225) = 2,439,891 / 2,473,717 = 0.9863.
The compressed block keeps the same mean, so the luminance term is exactly 1, and the small perturbations (+2, -2, +2, -2) only narrow the variance (125 to 109), which drags the score just below 1. Any faithful SSIM implementation scores these two blocks near 0.99; windowed implementations differ only slightly on a block this small.