SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.34k stars 846 forks source link

Provide a new ImageSharp NuGet package which contains the image comparison utility classes #794

Open matt-psaltis opened 5 years ago

matt-psaltis commented 5 years ago

To support visual regression testing, I am requesting a new feature.

ImageSharp already contains Image comparison in the Test namespace located here: https://github.com/SixLabors/ImageSharp/tree/master/tests/ImageSharp.Tests/TestUtilities/ImageComparison

These methods call internal methods in the main ImageSharp library and so I'm currently resorting to reflection to do this.

Could these be moved to a separate NuGet library for public consumption?

antonfirsov commented 5 years ago

@SaltyDH cool that you are interested in this! :)

Unfortunately, these classes are kinda messy, and need a lot of refactor before making them public. We can only take care of this past 1.0.