What is error level analysis?
JPEG loses a little detail every time it is saved. In an untouched photo this “compression error” is roughly uniform across the image. When part of another image is pasted in, or a region is edited, that region has a different compression history.
Error level analysis (ELA) saves the image once more at a known quality and measures the difference from the original. The result is a map: regions that are much brighter or darker than similar surfaces around them are suspicious.
How to read an ELA map
- Edges, text and detailed textures are always brighter – that is normal.
- What matters is comparing similar surfaces: if one patch of a plain wall is brighter than the rest, it was probably added separately.
- If the whole image is uniformly dark, it was probably re-saved many times and ELA alone tells little.
Complementary tests
ELA alone produces many false alarms, so this tool runs several other tests at the same time and combines them:
- JPEG ghost: the image is saved at several qualities to find a region that was previously saved at a different one.
- Double JPEG compression: a sign that the whole image was saved twice with different settings.
- Noise map: a region taken from another photo has different noise.
- Copy-move: finds regions copied from the same photo.
All maps can be compared on the result page. For the overall method see the photoshop detector.
Limitations of ELA
- ELA is meaningful for JPEG images only; on PNG files and screenshots it is unreliable.
- A photo forwarded many times through messengers loses its editing traces.
- An ELA map needs interpretation and is not proof of forgery on its own.