-
-
Notifications
You must be signed in to change notification settings - Fork 854
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
Add webp decoder option to handle the background color in ANIM chunk #2547
Conversation
…e the background color in the ANIM chunk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far, hopefully we get permission to use the image soon.
Co-authored-by: James Jackson-South <[email protected]>
tests/ImageSharp.Tests/TestImages.cs
Outdated
@@ -677,6 +677,7 @@ public static class Lossy | |||
public const string WithXmp = "Webp/xmp_lossy.webp"; | |||
public const string BikeSmall = "Webp/bike_lossy_small.webp"; | |||
public const string Animated = "Webp/leo_animated_lossy.webp"; | |||
public const string AnimatedIssue2528 = "Webp/issues/issue2528.webp"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe fa4febf has to be reverted now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think you are right. We should squash commits when merging this, because of the back and forth here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks!
Prerequisites
Description
Adds a flag to decide how to handle the background color Animation Chunk.
The specification is vague on how to handle the background color of the animation chunk.
This option let's the user choose how to deal with it.
Related Issue: #2528