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

Formatting an image to webp is losing some of the transparency in the image #364

Closed
4 tasks done
jaandrews opened this issue Apr 12, 2024 · 0 comments · Fixed by #365
Closed
4 tasks done

Formatting an image to webp is losing some of the transparency in the image #364

jaandrews opened this issue Apr 12, 2024 · 0 comments · Fixed by #365
Labels

Comments

@jaandrews
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp.Web
  • 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.Web version

3.1.1

Other Six Labors packages and versions

SixLabors.ImageSharp.Web.Providers.Azure : 3.1.1

Environment (Operating system, version and so on)

Windows 10

.NET version

8

Description

When the problem image is formatted to webp with "?format=webp," some of the transparency is lost.

What it should look like
correct-image

What it actually looks like
incorrect-image

I'm loading this package as a dependency of Umbraco.Cms 13.2.2, so if the below steps fail to reproduce the issue, there may be some configuration in it I'm unaware of.

Steps to Reproduce

  1. Format the attached image as a webp file.

Images

alaska-map

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

Successfully merging a pull request may close this issue.

2 participants