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.
To report a security problem in this fork, read SECURITY.md.
Add the package to your project:
dotnet add package PinataLabs.ImagePastel| Target | For |
|---|---|
net11.0 |
.NET 11 and later. This build uses hardware intrinsics (SSE, AVX, AVX2). |
net10.0 |
.NET 10. 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.
- 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
net11.0,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 continue the 2.x line and start at 2.2.0. The project uses semantic versioning.
Releases and pre-releases are on nuget.org.
You need the .NET 11 SDK, the .NET 10 runtime, and Git LFS.
The tests run on net10.0 and net11.0. 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.
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.
Forked from SixLabors.ImageSharp last Apache 2.0 release.
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.
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.