Codeuctivity.ImageSharpCompare
4.1.390
Prefix Reserved
dotnet add package Codeuctivity.ImageSharpCompare --version 4.1.390
NuGet\Install-Package Codeuctivity.ImageSharpCompare -Version 4.1.390
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codeuctivity.ImageSharpCompare" Version="4.1.390" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Codeuctivity.ImageSharpCompare" Version="4.1.390" />
<PackageReference Include="Codeuctivity.ImageSharpCompare" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Codeuctivity.ImageSharpCompare --version 4.1.390
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codeuctivity.ImageSharpCompare, 4.1.390"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Codeuctivity.ImageSharpCompare@4.1.390
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Codeuctivity.ImageSharpCompare&version=4.1.390
#tool nuget:?package=Codeuctivity.ImageSharpCompare&version=4.1.390
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Compares images Supports comparing images by using a tolerance mask image. Linux, Windows, MacOs supported.
ImageSharp License Note
If you run into the licensing hassle around the ImageSharp dependency, consider Codeuctivity/SkiaSharp.Compare as an alternative. It is semi API compatible, and if that project already satisfies your personal needs, it may also be the better fit for you. For further details, see Licence Enforcement Changes. The respect here is directed toward the ImageSharp dependency and the work behind it. Keeping this project compliant with license changes takes ongoing effort, and funding would help make it easier to upgrade to the latest ImageSharp versions and keep pace with their technical changes responsibly.
Basic example:
bool isEqual = ImageSharpCompare.ImagesAreEqual("actual.png", "expected.png");
// calcs MeanError, AbsoluteError, PixelErrorCount and PixelErrorPercentage
ICompareResult calcDiff = ImageSharpCompare.CalcDiff("actual.png", "expected.png");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)