SkiaSharp
SkiaSharp copied to clipboard
[BUG] Encoding/Decoding PNG image produces artifacts in the output after upgrading to SkiaSharp 2.88.0.
Description
After encoding/decoding PNG image, the output image has artifacts. Everything works fine in 2.80.1 version of SkiaSharp. images.zip
Code
using SkiaSharp;
using SKBitmap bmp = SKBitmap.Decode(@"C:\Temp\image1.png");
using SKFileWStream output = new SKFileWStream(@"C:\Temp\out.png");
bmp.Encode(output, SKEncodedImageFormat.Png, 100);
Basic Information
- Version with issue: 2.88.0
- Last known good version: 2.80.1
- IDE: VS 2022
Screenshots
More reports of this bug here: https://github.com/mono/SkiaSharp/issues/2132
Duplicate of #2095