microsoft / dotnet

This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.
https://devblogs.microsoft.com/dotnet/
MIT License
14.31k stars 2.21k forks source link

System. Drawing. Common does not support webp #1344

Open yaphet266 opened 2 years ago

yaphet266 commented 2 years ago

I hope GDI can support webp

richlander commented 2 years ago

I see WebP here: https://docs.microsoft.com/windows/win32/gdiplus/-gdiplus-constant-image-file-format-constants.

I don't see it here: https://docs.microsoft.com/dotnet/api/system.drawing.imaging.imageformat. Looks like it hasn't been updated.

If you are using .NET 6, you could make a request at https://github.com/dotnet/runtime

regs01 commented 1 year ago

There is imageformat.webp, but images do not open. And it's said webp won't be supported. https://github.com/dotnet/runtime/issues/76237