Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Last active June 16, 2021 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/65249752958d68af0cb507219d4ebe2d to your computer and use it in GitHub Desktop.
Save GroupDocsGists/65249752958d68af0cb507219d4ebe2d to your computer and use it in GitHub Desktop.
Compare Images and highlight the differences in Java
// Compare two Images and highlight the differences in Java
Comparer comparer = new Comparer("image-a.jpg")
comparer.add("image-b.jpg");
comparer.compare("result-Image.jpg"); // This will return the path of the resultant image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment