Some gifs lose transparency after decoding #2980
Answered
by
JimBobSquarePants
Poker-sang
asked this question in
Q&A
-
When I open this gif, I found that most software/browsers will consider it transparent, while ImageSharp decodes it with a red background color, I think this may be a bug after ImageSharp decoding: ![]() |
Beta Was this translation helpful? Give feedback.
Answered by
JimBobSquarePants
Sep 10, 2025
Replies: 1 comment 2 replies
-
Yeah that’s a bug. Fixing It on decode is easy enough, there’s assumptions on encoding to fix though that make it tricky |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Poker-sang I've merged a fix for this into v4 main. #2982
I'm loath to backport this to v3x as I personally do not have the time and I really need to push forward and get this release completed.