Skip to content

Conversation

@tiandt
Copy link

@tiandt tiandt commented Jan 10, 2026

Related #432 and bump Kingfisher to 8.0. Add support for animated WebP.

@tiandt tiandt requested a review from a team as a code owner January 10, 2026 13:11
@tiandt
Copy link
Author

tiandt commented Jan 10, 2026

Sometimes, WebP images render with a purple tint, which seems like a Kingfisher bug.
How about improving WebP (including animated WebP) support by trying SDWebImage with SDWebImageWebPCoder?

A demo project is included here. KFAnimatedImage can render the animated webp image now, but still buggy, while SDWebImage works fine.
Demo.zip

So I didn’t include the code that uses KFAnimatedImage to display animated WebP yet; I only integrated improved WebP rendering for now.
60236

@tiandt tiandt changed the title Better Webp rendering Better WebP rendering Jan 10, 2026
@tiandt
Copy link
Author

tiandt commented Jan 10, 2026

Snippets of ReadingView rendering image with SDWebImageSwiftUI
ReadingView.txt

@umiiii
Copy link

umiiii commented Jan 12, 2026

may be also need to add

pathExtension == "webp"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants