Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.17 KB

ReadMe.md

File metadata and controls

29 lines (24 loc) · 1.17 KB

ELA - Error Level Analysis

Description

A pure Java implementation of the Error Level Analysis method demonstrated in Krawetz, N. 'A Picture's Worth... Image Analysis and Forensics', 2007.

A suspect image is JPEG-compressed to 95%, and the difference between the original and compressed image is computed, then scaled. Areas with high error levels (non-back pixels) represent areas of potential tampering. Wikipedia Article

By default, program overlays areas of high compression error over the original image in the output (original remains unaltered).

Example:

Original Image: Original Image Doctored Image: Doctored Image Error-level Image: Error-level Image Masked Output Image: Masked Image

Usage

Single file mode example:

java -Xmx4096m -jar ELA.jar test/test1.jpg

Directory mode example:

java -Xmx4096m -jar ELA.jar test