Skip to content

Repository files navigation

Verify.ImageSharp.Compare

DiscussionsBuild statusNuGet Status

Extends Verify to allow comparison of images via Codeuctivity.ImageSharp.Compare.

Contains comparers for png, jpg, and bmp.

See Milestones for release notes.

Sponsors

Entity Framework Extensions

Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.

Entity Framework Extensions

Developed using JetBrains IDEs

JetBrains logo.

NuGet

Usage

[ModuleInitializer]publicstaticvoidInit()=>VerifyImageSharpCompare.Initialize();

snippet source | anchor

Image Comparers

The following will use ImageHash to compare the images instead of the default DifferenceHash algorithm.

[Test]publicTaskCompareImage()=>VerifyFile("sample1.jpg");

snippet source | anchor

Register all comparers

All comparers can be registered:

VerifyImageSharpCompare.RegisterComparers();

Icon

Pattern designed by Marialuisa Iborra from The Noun Project.

About

Extends Verify to allow comparison of images via ImageSharp.Compare.

Resources

Code of conduct

Stars

8 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages