Open Lovrenc opened 2 weeks ago
I don't think this is the encoder., I think it's the decoder. If you save the image as a PNG the same occurs.
Confirmed. It's the lossy decoder. Something is failing there when applying the alpha values to the pixels. We're getting zero for everything.
Prerequisites
DEBUG
andRELEASE
modeImageSharp version
3.1.5
Other ImageSharp packages and versions
/
Environment (Operating system, version and so on)
Windows 11 23H2
.NET Framework version
7.0
Description
WebP encoding produces an entirely transparent image.
It seems that quality settings, lossy or lossless or EncodingMethod Level had no effect (I tested about 20 combinations).
Decoding looks ok, if I export the same image as JPEG it works fine.
Steps to Reproduce
Images
bugged_image.zip