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.Add("filepath/targetImage.jpg"); | |
comparer.Compare("filepath/comparisonResultImage.jpg", options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
You may visit the blog post for How to Compare Images in C#.