PinataLabs.ImagePastel
2.2.0-alpha.100
dotnet add package PinataLabs.ImagePastel --version 2.2.0-alpha.100
NuGet\Install-Package PinataLabs.ImagePastel -Version 2.2.0-alpha.100
<PackageReference Include="PinataLabs.ImagePastel" Version="2.2.0-alpha.100" />
<PackageVersion Include="PinataLabs.ImagePastel" Version="2.2.0-alpha.100" />
<PackageReference Include="PinataLabs.ImagePastel" />
paket add PinataLabs.ImagePastel --version 2.2.0-alpha.100
#r "nuget: PinataLabs.ImagePastel, 2.2.0-alpha.100"
#:package PinataLabs.ImagePastel@2.2.0-alpha.100
#addin nuget:?package=PinataLabs.ImagePastel&version=2.2.0-alpha.100&prerelease
#tool nuget:?package=PinataLabs.ImagePastel&version=2.2.0-alpha.100&prerelease
PinataLabs.ImagePastel
PinataLabs.ImagePastel is a fully managed, cross-platform 2D graphics library for .NET. It decodes, processes, and encodes BMP, GIF, JPEG, JPEG XL, PBM, PNG, TGA, TIFF, and WebP images.
This fork exists to fix security issues and uplift in the ImageSharp v2 line and to keep that line under the Apache License 2.0. Pinata Labs does not offer support for this package. For a supported version, please use the official SixLabors.ImageSharp package from Six Labors.
Security
This fork starts from the Six Labors release/2.1.x branch at commit 14efb84e8 (2026-03-18).
To report a security problem in this fork, read SECURITY.md.
Install
Add the package to your project:
dotnet add package PinataLabs.ImagePastel
Move from SixLabors.ImageSharp 2.1.x
The public API and the SixLabors.ImageSharp namespace are the same as in SixLabors.ImageSharp 2.1.13.
You do not have to change your code.
- Remove the
SixLabors.ImageSharppackage reference. - Add the
PinataLabs.ImagePastelpackage reference. - Build and test your application.
Do not reference both packages in one application. The two assemblies contain the same types, and the compiler cannot select between them (error CS0433).
Move from PinataLabs.ImageSharp 2.1.14
Version 2.1.14 of this fork was published as PinataLabs.ImageSharp.
That package gets no more releases. Later versions are published as PinataLabs.ImagePastel.
The public API and the SixLabors.ImageSharp namespace do not change.
- Remove the
PinataLabs.ImageSharppackage reference. - Add the
PinataLabs.ImagePastelpackage reference. - Build and test your application.
The assembly name changes from PinataLabs.ImageSharp to PinataLabs.ImagePastel.
If your code or configuration names the assembly (for example, in reflection, InternalsVisibleTo, or binding redirects), change it to the new name.
Do not reference both packages in one application. The two assemblies contain the same types, and the compiler cannot select between them (error CS0433).
Target frameworks
| Target | For |
|---|---|
net10.0 |
.NET 10 and later. This build uses hardware intrinsics (SSE, AVX, AVX2). |
netstandard2.1 |
Other .NET runtimes, for example .NET 8, .NET 9, Mono, and Unity. This build does not use hardware intrinsics. |
The package does not support .NET Framework.
Differences from SixLabors.ImageSharp 2.1.13
- The package ID and the assembly name are
PinataLabs.ImagePastel. - The strong-name key is different. The public key token is
4ebeb91ace1f6a56. - The package targets
net10.0andnetstandard2.1only. - The dependencies are current versions.
- The public API is the same. CI compares it with SixLabors.ImageSharp 2.1.13 in strict mode on each change.
Versions
Versions continue the 2.x line and start at 2.2.0. The project uses semantic versioning.
Releases and pre-releases are on nuget.org.
A maintainer starts each one by hand. A push to main does not publish a package.
Documentation
Documentation for SixLabors.ImageSharp 2.1.x applies to this package.
The source of that version is on the release/2.1.x branch of the Six Labors repository.
Later Six Labors versions have a different API, so their documentation does not always apply.
Build from source
You need the .NET 10 SDK and Git LFS. The test images are in Git LFS.
- On Windows, enable long file paths in Git:
git config --system core.longpaths true. - Clone the repository:
git clone https://github.com/PinataLabs/ImagePastel. - Get the test images:
git lfs pull. - Build the solution:
dotnet build ImagePastel.slnx -c Release. - Run the tests:
dotnet test tests/ImagePastel.Tests -c Release --no-build.
The build treats all warnings as errors.
To also build and test net11.0, select a .NET 11 SDK in global.json (CI uses 11.0.100-rc.2.26504.105).
The package does not include net11.0 yet, because releases use the .NET 10 SDK.
Contributing
Read the contribution guide before you open an issue or a pull request.
This project uses the code of conduct of the Contributor Covenant. For more information, read the .NET Foundation Code of Conduct.
License
PinataLabs.ImagePastel is licensed under the Apache License, Version 2.0. The NOTICE file gives the origin of the code and the changes that Pinata Labs made. Third-party code is listed in THIRD-PARTY-NOTICES.TXT.
Credits
James Jackson-South, Dirk Lemstra, Anton Firsov, Scott Williams, Brian Popow, and the other contributors at Six Labors wrote ImageSharp. This fork exists because of their work.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Text.Encoding.CodePages (>= 10.0.13)
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.0-alpha.100 | 69 | 11/17/2026 |