Does Kingfisher support WebP on iOS 14+?

913 Views Asked by At

I’m getting mixed signals as the wiki says:

WebpFramework is an external framework you may use to parse WebP data. Currently, Kingfisher does not support WebP image out of the box.

But then there’s this comment from the author saying:

This is a WebP image and only built-in supported from iOS 14.

Which also points to the FAQ where it says:

Can I load some special image format like WebP?

Yes, but it is not built-in supported in Kingfisher. You may need to implement your own ImageProcessor and CacheSerializer. It is also already done by some other libraries, for example, KingfisherWebP. For more discussion on this topic, search for "webp" in the issues.

It’s not clear to me whether iOS 14 built-in support is automatically “absorbed" into Kingfisher or not, and I’m confused as to why the wiki nor the FAQ mention this.

I’d prefer to avoid using KingfisherWebP since it doesn’t seem very active and based on this comment from the author they’re not yet taking advantage of the iOS 14 support?

I also noticed that from iOS 14 webp format has a built-in support. We're planning to implement this feature to reduce the memory footprint in iOS 14 devices.

1

There are 1 best solutions below

0
Fred Porciúncula On