Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Compare Images to Highlight Differences
// Compare JPG, PNG, GIF, BMP image formats using .NET Image Comparison API in C#
using (Comparer comparer = new Comparer("filepath/soureImage.jpg"))
CompareOptions options = new CompareOptions();
options.GenerateSummaryPage = false; // To get the difference summary, set it 'true'
comparer.Compare("filepath/comparisonResultImage.jpg", options);

This comment has been minimized.

Copy link
Owner Author

@GroupDocsGists GroupDocsGists commented Jan 12, 2021

You may visit the blog post for How to Compare Images in C#.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.