Error Level Analysis (ELA) is a forensic method that resaves a target image at a known, fixed JPEG quality level and then computes the pixel-level difference between the original and the recompressed version. Because a digitally unaltered image exhibits a uniform compression history, its error levels appear homogeneous. In contrast, a spliced region imported from a different source file will possess a distinct compression signature, causing it to manifest as an area of anomalously high or low error potential in the resulting difference map.
Glossary
Error Level Analysis (ELA)

What is Error Level Analysis (ELA)?
A digital image forensics technique used to identify regions within an image that have undergone different compression histories, potentially indicating digital manipulation or splicing.
The technique specifically exploits the lossy nature of JPEG compression, where quantization tables dictate how much high-frequency detail is discarded. An untouched region resaved at a consistent quality setting will show minimal error, while a previously compressed or edited region—having already lost its original high-frequency data—will degrade less upon recompression, appearing darker. This makes ELA a rapid, non-invasive triage tool for identifying splicing and inpainting boundaries, though it is sensitive to resizing and social media re-encoding.
Key Characteristics of ELA
Error Level Analysis (ELA) is a forensic method for detecting digital image manipulation by visualizing differences in compression error rates across an image. The core principle: regions introduced from different sources or edited at different times will exhibit distinct compression histories, making them stand out as anomalies when the image is uniformly re-compressed.
Compression Rate Differential
ELA operates by resaving a suspect image at a known JPEG quality level (typically 90-95%) and computing the absolute difference between the original and the re-compressed version. Unedited regions of an authentic image degrade uniformly, producing consistent error levels. Spliced or altered regions—which have a different compression history from the host image—degrade at a different rate, appearing as visibly brighter or darker areas in the ELA output. The resulting difference map is then contrast-enhanced to make these anomalies visually apparent to a forensic analyst.
Splicing and Compositing Detection
The primary use case for ELA is identifying image splicing, where a region from a donor image is inserted into a host photograph. Key indicators include:
- High-error edges: Sharp boundaries around inserted objects where compression artifacts differ dramatically from the background.
- Uniform texture in high-error zones: A pasted object may show a flat, high-error surface if it was originally saved at a lower quality than the host.
- Mismatched noise floors: The inserted region retains the sensor pattern noise and quantization table artifacts of its source camera, creating a detectable compression discontinuity at the pixel level.
Limitations and False Positives
ELA is a screening tool, not a definitive proof of manipulation. Several legitimate image features can produce high-error regions that mimic tampering:
- High-contrast edges (e.g., a building against a bright sky) naturally exhibit stronger compression artifacts.
- Textured surfaces like grass, fabric, or hair compress less efficiently and appear brighter in ELA.
- Re-saved social media images have already been aggressively re-compressed, destroying the original compression history and rendering ELA unreliable.
- Uniform color areas (blue sky, painted walls) compress very efficiently and appear dark, potentially masking inserted objects. Analysts must cross-reference ELA results with other forensic techniques like CFA interpolation detection and noise analysis.
JPEG Quantization Table Fingerprinting
Under the hood, ELA exploits the quantization tables embedded in JPEG files. Every time a JPEG is saved, a quantization matrix determines how aggressively high-frequency information is discarded. When an image is spliced, the inserted region carries its own quantization table history. Re-saving the composite image forces all pixels through a single, uniform quantization matrix. Regions that previously underwent heavier compression will show greater error in the ELA output because they cannot recover the high-frequency details already lost. This makes ELA particularly effective against double JPEG compression scenarios.
Relationship to Other Forensic Methods
ELA is most effective when combined with complementary techniques in a forensic triage pipeline:
- ELA + Noise Analysis: ELA identifies compression anomalies; noise analysis confirms whether the high-error region also exhibits a different noise profile from the rest of the image.
- ELA + CFA Interpolation Detection: If ELA highlights a suspicious region, CFA analysis can verify whether the demosaicing pattern is consistent with the claimed camera model.
- ELA + Metadata Cross-Validation: EXIF timestamps and software tags can corroborate whether the image has been re-saved, explaining observed ELA patterns.
- ELA + Copy-Move Detection: ELA can reveal duplicated regions that copy-move algorithms might miss if the copied area was rotated or scaled.
Frequently Asked Questions
Explore the core concepts behind Error Level Analysis and its role in digital image forensics.
Error Level Analysis (ELA) is a forensic method that visualizes the differences in compression levels within a digital image to identify regions that have been digitally altered. The technique works by intentionally re-saving the suspect image at a known quality level (typically 95%) and then computing the absolute difference between the original and the re-compressed version. Areas of the image that are uniform, like a blue sky, compress very efficiently and will appear dark (low error) in the ELA result. Conversely, high-contrast edges and textures naturally produce a higher error level. A region that has been spliced from a different source image will have a distinct compression history, causing it to stand out with a significantly brighter error potential than its surroundings, revealing the manipulation boundary.
ELA vs. Other Forensic Techniques
Comparing Error Level Analysis against other common image forensics techniques for detecting digital manipulation.
| Feature | Error Level Analysis | Copy-Move Detection | PRNU Analysis |
|---|---|---|---|
Primary Detection Target | Splicing and foreign object insertion | Duplicated regions within same image | Source camera identification and region substitution |
Underlying Principle | Compression error rate discrepancy | Statistical block similarity matching | Sensor pattern noise uniqueness |
Requires Original Image | |||
Requires Camera Reference | |||
Effective Against Recompression | |||
Localizes Tampered Region | |||
Computational Complexity | Low | Medium | High |
False Positive Rate | Moderate to High | Low | Very Low |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Error Level Analysis is one component of a broader digital image forensics toolkit. These related techniques are often used in conjunction with ELA to build a comprehensive assessment of image authenticity.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us