onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.
MIT License
23.4k stars 2.66k forks source link

How to use Kingfisher to load webp animations? #2088

Open yly6518 opened 1 year ago

yly6518 commented 1 year ago

I tried using Kingfisher to load webp animations, but it didn't work. 我使用Kingfisher加载webp动态图片,但是没有效果,展示的webp并不会动。

yly6518 commented 1 year ago
private lazy var imageView = AnimatedImageView()
let urlString = "some webp url"
let url = URL(string: urlString)
imageView.kf.setImage(with: url)

This is my code. 这是我的代码。 Developed on ios 14.0. 开发版本基于iOS 14.0

onevcat commented 1 year ago

The support for animated WebP is yet done in Kingfisher. Let me check it.

ttttfix commented 1 year ago

When will support for animated WebP be completed? thx

Jack25apr commented 1 year ago

Any news ?

rmelnik7777 commented 11 months ago

and now?)

lschaupp commented 10 months ago

bump

ZhouLiuSheng commented 10 months ago

expectation

VGrokhotov commented 9 months ago

Any updates?()

wjling commented 8 months ago

Any news plz?

lixiaonan commented 7 months ago

Any news? thx

ZhouLiuSheng commented 6 months ago

从webp动图的加载比较来看,webp的动图是不是还是 YYWebimage比较好

onevcat commented 6 months ago

对。暂时 webp 动画的支持不在 plan list 上...如果需要 webp 动图,暂时建议使用 SDWebImage 作为替代。

HIIgor commented 3 weeks ago

我们的项目是纯Swift项目,因为要支持webp动图被迫从Kingfisher切到SDWebImage。 Kingfisher支持了livephoto的效果,很迫切地准备再接入Kingfisher。 如果Kingfisher支持webp动图,我们就直接全部替换Kingfisher了 😄

tlb-xiongju commented 3 weeks ago

自己动手撸一个吧