Extends Verify to allow comparison of images via Codeuctivity.ImageSharp.Compare.
Contains comparers for png, jpg, and bmp.
See Milestones for release notes.
https://nuget.org/packages/Verify.ImageSharp.Compare/
[ModuleInitializer]
public static void Init() =>
VerifyImageSharpCompare.Initialize();
The following will use ImageHash to compare the images instead of the default DifferenceHash algorithm.
[Test]
public Task CompareImage() =>
VerifyFile("sample.jpg");
All comparers can be registered:
VerifyImageSharpCompare.RegisterComparers();
Pattern designed by Marialuisa Iborra from The Noun Project.