Codeuctivity.SkiaSharpCompare
3.1.212
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Codeuctivity.SkiaSharpCompare --version 3.1.212
NuGet\Install-Package Codeuctivity.SkiaSharpCompare -Version 3.1.212
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="3.1.212" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Codeuctivity.SkiaSharpCompare" Version="3.1.212" />
<PackageReference Include="Codeuctivity.SkiaSharpCompare" />
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.SkiaSharpCompare --version 3.1.212
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codeuctivity.SkiaSharpCompare, 3.1.212"
#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.SkiaSharpCompare@3.1.212
#: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.SkiaSharpCompare&version=3.1.212
#tool nuget:?package=Codeuctivity.SkiaSharpCompare&version=3.1.212
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
| 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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- SkiaSharp (>= 3.119.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.119.1)
-
net8.0
- SkiaSharp (>= 3.119.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.119.1)
-
net9.0
- SkiaSharp (>= 3.119.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.119.1)
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.215-PreRelease | 0 | 11/15/2025 |
| 3.1.213 | 0 | 11/15/2025 |
| 3.1.212 | 0 | 11/15/2025 |
| 3.1.206-PreRelease | 0 | 10/6/2025 |
| 3.1.203 | 0 | 9/27/2025 |
| 3.0.166-PreRelease | 0 | 1/7/2025 |
| 3.0.164-PreRelease | 0 | 1/6/2025 |
| 3.0.163-PreRelease | 0 | 1/6/2025 |
| 2.1.209 | 0 | 10/24/2025 |
| 2.1.208 | 0 | 10/24/2025 |
| 2.1.201 | 0 | 9/26/2025 |
| 2.1.200 | 0 | 9/26/2025 |
| 2.1.199 | 0 | 9/26/2025 |
| 2.1.198 | 0 | 9/26/2025 |
| 2.1.197 | 0 | 9/25/2025 |
| 2.1.196 | 0 | 9/25/2025 |
| 2.1.184 | 0 | 4/30/2025 |
| 2.1.183 | 0 | 4/30/2025 |
| 2.1.182 | 0 | 4/30/2025 |
| 2.1.181 | 0 | 4/30/2025 |
| 2.0.174 | 0 | 4/30/2025 |
| 2.0.173 | 0 | 4/30/2025 |
| 2.0.172 | 0 | 4/30/2025 |
| 2.0.171 | 0 | 4/30/2025 |
| 2.0.160 | 0 | 1/5/2025 |
| 2.0.158 | 0 | 1/1/2025 |
| 2.0.157 | 0 | 1/1/2025 |
| 2.0.156 | 0 | 1/1/2025 |
| 2.0.155 | 0 | 1/1/2025 |
| 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 |
Update release workflow and package versioning
Refactored GitHub Actions workflow for improved readability and consistency in conditional steps. Removed ShellCheck extension recommendation from VS Code settings. Changed NuGet package versioning to use the main version instead of appending '-PreRelease'.