The .NET framework does not provide any options regarding the compression of PNGs. While the built-in support is suitable for most tasks I had so far, I have high performance requirements which I hope to resolve by using less compression and compensate through higher memory usage.
I saw there are many PNG libraries available on NuGet, but the sheer amount of search results makes it hard for me to decide for one.
Have you worked with one of those libraries and can you recommend one that's really fast?
The target .NET framework is 4.5; higher versions are acceptable.
I have tried:
- NuGet libpng but it does not support .NET 4.5
- NuGet pngpp but it does not support .NET 4.5
- NuGet lpng but it does not support .NET 4.5
- NuGet ImageProcessor but it does not have a
Save()
method - NuGet NGraphics but the
GetImage().SaveAsPng()
method has no parameters to change the compression