dotnet / dotnet/wpf

WebP with alpha image is broken

Open
#1,436 15 comments 2 reactions 0 assignees View on GitHub
Bug
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

* .NET Core Version: 3.0 Preview7
* Windows version: Windows 10 version 1903
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes

**Problem description:**

WebP can now be displayed on Windows 10, but when trying to display transparent WebP with WPF, the transparent part becomes broken display.

![sample](https://user-images.githubusercontent.com/16382967/62021615-1a748280-b203-11e9-9d3e-3a63fcc8c1ed.png)

However, BitmapImage using DecodePixelWidth different from the source is displayed correctly.

[I submitted a similar report as an issue with the .NET Framework.](https://developercommunity.visualstudio.com/content/problem/465396/webp-with-alpha-image-is-broken.html)

**Minimal repro:**

* The test WebP image is [here](https://developers.google.com/speed/webp/gallery2).
* `` only.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.