Hello,
I have some misunderstanding with png image compression, I try to compress the png image with a size ~6.2Mb. I wrote the sample code to do it :
using var image = Image.Load(src);
using var options = new PngOptions()
{
CompressionLevel = 5
};
image.Save(dest, options);
after the compression, I got the png file with a size ~8.2Mb but my goal is to make the image a bit smaller than the source image ( in all levels of compression I got ~8.2Mb )
Also, I lost my transparent background ( it became black ). I played with configuration but it didn’t work for me.
can you explain why the image doesn’t compress?
I attache the sample image for testing
test image.zip (6.2 MB)