Did Compression Hurt Your Image? Compare Two Versions

3 min read · Updated · Last checked:

On this page
  1. When to compare
  2. Step by step
  3. What the numbers mean
  4. Read the result with care
  5. Choose the setting
  6. Privacy
  7. Do it now

Short answer: open Compare Images, add the original as Picture A (the original) and the compressed or converted copy as Picture B (the changed one), and read the numbers under The difference. A PSNR above 40 dB usually means the pictures look the same. Always look at the picture yourself as well.

When to compare

  • You compressed a photo with the Image Compressor and want to know how much changed.
  • You converted a picture to another format and want to confirm that nothing was lost.
  • You saved the same picture with two quality settings and want to choose.

Step by step

  1. Open Compare Images. If you have just used the Image Compressor, click Compare with the original → instead, or Compare next to a result in the Image Converter. Both open Compare Images with the two pictures already in place, so you can go straight to step 4.
  2. Add the original as Picture A (the original).
  3. Add the changed copy as Picture B (the changed one). Swap A and B exchanges them.
  4. Read The two pictures: dimensions, megapixels, File size and type, with a note on how much smaller or larger B is.
  5. Read The difference and the verdict under it.
  6. Click Copy results as text to keep the numbers.

What the numbers mean

Value Meaning
Mean absolute error (MAE) The average difference per color channel on a scale from 0 to 255. 0 means identical
PSNR (higher means more alike) Measured in decibels. Identical pictures have an infinite PSNR
Pixels that differ The share of pixels that are not the same
Largest difference in one color The biggest single jump, from 0 to 255

Rule of thumb for PSNR: above 40 dB usually looks the same, 30 to 40 dB very close, 20 to 30 dB visible differences, below 20 dB clearly different. It is a guide, not a guarantee: sharp edges and text can show small changes at a high value.

Read the result with care

  • Identical pictures show an infinite PSNR, so you can confirm that a lossless save kept every pixel.
  • JPG always changes some pixels, so a share of changed pixels is normal. What matters is whether the difference is visible.
  • Different sizes: B is scaled to A. After a resize the numbers are only a rough guide.
  • A very large picture is reduced to at most 16 megapixels for the measurement, and the page tells you.
  • The tool does not compute SSIM and does not draw a difference image. Open both pictures at 100% and look at faces, text and edges.

Choose the setting

Compress the same photo at two qualities and compare each with the original. Pick the smaller file whose difference you cannot see. For ways to reach a size limit read How to compress an image under 100 KB.

Privacy

Both pictures are compared in your browser and never uploaded.

Do it now

Open Compare Images and compare a photo with its compressed copy.

Frequently asked questions

Which picture should be A and which B?

Put the original as A and the changed version as B. The numbers are the same either way, but the notes about size and scaling refer to B compared with A.

What PSNR value is good?

Higher means more alike. Above 40 dB the pictures usually look the same, 30 to 40 dB is very close, 20 to 30 dB shows visible differences and below 20 dB they are clearly different.

What if the two pictures have different sizes?

B is scaled to the size of A for the measurement, and the page says so. If the shapes differ, B is stretched, so treat the numbers with care.

Do the numbers show what the eye sees?

Not exactly. MAE and PSNR compare pixels. A picture shifted by one pixel can show a large difference, and a small change in a smooth area can be hard to see. Use the numbers together with your own eyes.

How are transparent areas handled?

Transparent pixels are laid on white before the comparison.

Are my pictures uploaded?

No. Both pictures are compared in your browser.