Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken image conversion from WebP to PNG format #2257

Closed
4 tasks done
xpetrik opened this issue Oct 8, 2022 · 0 comments
Closed
4 tasks done

Broken image conversion from WebP to PNG format #2257

xpetrik opened this issue Oct 8, 2022 · 0 comments

Comments

@xpetrik
Copy link

xpetrik commented Oct 8, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

ImageSharp version

3.0.0-alpha.0.56

Other ImageSharp packages and versions

2.1.3

Environment (Operating system, version and so on)

Windows 11 (x64)

.NET Framework version

.NET 6

Description

Converting a specific WebP image with an alpha channel to PNG does not work.

Only the outline is visible in the resulting file. WebP does not contain any crazy color profiles (it should contain normal sRGB).

The image causing the problem is attached.

Steps to Reproduce

https://systemartrecordings.blob.core.windows.net/recordings/devenv_AxQTL1Erma.mp4

static void Main(string[] args)
{
    using (var img = Image.Load("c:\\Repositories\\TestingProjects\\ImageSharpWebP\\testimage.webp"))
    {
        img.Save("c:\\Repositories\\TestingProjects\\ImageSharpWebP\\testimage.png");
    }
}

Images

TestImages.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants