Codeuctivity.SkiaSharpCompare
2.0.143
dotnet add package Codeuctivity.SkiaSharpCompare --version 2.0.143
NuGet\Install-Package Codeuctivity.SkiaSharpCompare -Version 2.0.143
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.SkiaSharpCompare" Version="2.0.143" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codeuctivity.SkiaSharpCompare --version 2.0.143
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codeuctivity.SkiaSharpCompare, 2.0.143"
#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.
// Install Codeuctivity.SkiaSharpCompare as a Cake Addin #addin nuget:?package=Codeuctivity.SkiaSharpCompare&version=2.0.143 // Install Codeuctivity.SkiaSharpCompare as a Cake Tool #tool nuget:?package=Codeuctivity.SkiaSharpCompare&version=2.0.143
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Compares images
Compares each pixel to determine the equality
bool isEqual = Compare.ImagesAreEqual("actual.png", "expected.png");
Calculates diff
var calcDiff = Compare.CalcDiff("2x2PixelBlack.png", "2x2PixelWhite.png");
Console.WriteLine($"PixelErrorCount: {diff.PixelErrorCount}");
Console.WriteLine($"PixelErrorPercentage: {diff.PixelErrorPercentage}");
Console.WriteLine($"AbsoluteError: {diff.AbsoluteError}");
Console.WriteLine($"MeanError: {diff.MeanError}");
// PixelErrorCount: 4
// PixelErrorPercentage: 100
// AbsoluteError: 3060
// MeanError: 765
Further features
- Diff mask: allowing defined areas to diff from the compared image.
- Compare images that have different dimension
- Linux, MacOs and Windows supported
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- SkiaSharp (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.9)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.143 | 0 | 11/12/2024 |
2.0.142 | 0 | 11/12/2024 |
2.0.141 | 0 | 11/12/2024 |
2.0.134 | 1 | 8/25/2024 |
2.0.131 | 1 | 6/7/2024 |
2.0.128 | 2 | 4/23/2024 |
2.0.127 | 2 | 4/22/2024 |
2.0.125 | 1 | 4/22/2024 |
2.0.124 | 2 | 4/22/2024 |
2.0.123 | 1 | 4/22/2024 |
2.0.122 | 2 | 4/22/2024 |
2.0.121 | 2 | 4/22/2024 |
2.0.113 | 2 | 1/27/2024 |
2.0.112 | 2 | 1/27/2024 |
2.0.111 | 2 | 1/27/2024 |
2.0.108 | 2 | 1/27/2024 |
2.0.107 | 2 | 1/27/2024 |
2.0.106 | 2 | 1/27/2024 |
2.0.105 | 2 | 1/27/2024 |
2.0.102 | 2 | 1/23/2024 |
2.0.101 | 2 | 1/23/2024 |
2.0.100 | 2 | 1/23/2024 |
2.0.92 | 2 | 11/17/2023 |
2.0.91 | 2 | 11/17/2023 |
1.0.88 | 2 | 11/14/2023 |
1.0.87 | 2 | 11/14/2023 |
1.0.86 | 2 | 11/14/2023 |
1.0.85 | 2 | 11/14/2023 |
1.0.84 | 2 | 11/14/2023 |
1.0.83 | 2 | 11/14/2023 |
1.0.81 | 2 | 9/24/2023 |
1.0.80 | 2 | 9/24/2023 |
1.0.79 | 2 | 9/24/2023 |
1.0.78 | 2 | 9/24/2023 |
1.0.77 | 2 | 9/24/2023 |
1.0.76 | 2 | 9/24/2023 |
1.0.75 | 2 | 9/24/2023 |
1.0.72 | 2 | 9/24/2023 |
1.0.71 | 2 | 9/24/2023 |
1.0.70 | 2 | 9/24/2023 |
1.0.58 | 2 | 8/26/2023 |
1.0.57 | 2 | 8/26/2023 |
1.0.56 | 2 | 8/26/2023 |
1.0.55 | 2 | 8/26/2023 |
1.0.54 | 2 | 8/26/2023 |
1.0.45 | 2 | 7/24/2023 |
1.0.44 | 2 | 7/24/2023 |
1.0.42 | 2 | 7/15/2023 |
1.0.41 | 2 | 7/15/2023 |
1.0.40 | 2 | 7/15/2023 |
1.0.39 | 2 | 7/15/2023 |
0.0.38-prerelease | 2 | 7/15/2023 |
0.0.36-prerelease | 2 | 5/16/2023 |
0.0.35-prerelease | 2 | 5/16/2023 |
0.0.34-prerelease | 2 | 5/16/2023 |
0.0.33-prerelease | 2 | 5/16/2023 |
0.0.32-prerelease | 2 | 5/16/2023 |
0.0.31-prerelease | 2 | 4/22/2023 |
0.0.28-prerelease | 2 | 3/4/2023 |
0.0.25-prerelease | 2 | 1/26/2023 |
0.0.24-prerelease | 2 | 1/26/2023 |
0.0.23-prerelease | 2 | 1/26/2023 |
0.0.22-prerelease | 2 | 1/26/2023 |
0.0.21-prerelease | 2 | 1/26/2023 |
0.0.20-prerelease | 2 | 1/26/2023 |
0.0.19-prerelease | 2 | 1/26/2023 |
0.0.18-prerelease | 2 | 1/26/2023 |
0.0.17-prerelease | 2 | 1/26/2023 |
0.0.10-prerelease | 2 | 12/10/2022 |
0.0.9-prerelease | 2 | 12/10/2022 |
0.0.8-prerelease | 2 | 12/10/2022 |
0.0.7-prerelease | 2 | 12/10/2022 |
0.0.6-prerelease | 2 | 12/10/2022 |
0.0.5-prerelease | 2 | 10/1/2022 |
0.0.4-prerelease | 2 | 9/30/2022 |
0.0.2-prerelease | 2 | 9/30/2022 |
0.0.1-prerelease | 2 | 9/30/2022 |