Kingfisher: WebP Image Format not cached!

Created on 9 May 2015  ·  14Comments  ·  Source: onevcat/Kingfisher

Hi all,

Recently i have started using Webp Image format from google and it really saves a lot of bandwidth. But i'm not able to cache the images. I have tried using using other libraries also but no luck, by far this is the best. I get this error when i try :

: ImageIO: PNG zlib error

It would be great to if anyone could help me out. I use https://github.com/mattt/WebPImageSerialization to display webP images and it works fine.

Most helpful comment

P.S. There is a WebP framework as plugin for Kingfisher now. Check https://github.com/yeatse/KingfisherWebP

All 14 comments

Webp is not supported yet. However it is a planned feature and will be added later.

Thanks. Hope you would update it soon. Waiting for it.

It will not be in a high priority, since webp format is not so widely used currently. So I cannot guarantee a time schedule for it. If you are relying on the format and have a pressing deadline, I suggest to switch to other framework first.

No probs... Will wait..! :)

:eyes:

希望尽快增加webp格式支持!

+1

+1 for this,i'm hope add webp support quickly.

I'm hope WEBP available quickly 👯

+1

@hablema
Had the same issue. Seems like a bug in WebPImageSerialization. This little change solved the problem for me:
https://github.com/mattt/WebPImageSerialization/pull/12/commits

As mentioned in #362
since the WebP support will introduce additional dependency and in fact it is not a popular or officially supported format in Apple platform, I decided to not add it for a while.

I will keep an eye to see whether there could be a chance to do it later. But not for now at least.

P.S. There is a WebP framework as plugin for Kingfisher now. Check https://github.com/yeatse/KingfisherWebP

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wudijimao picture wudijimao  ·  3Comments

indrajitsinh picture indrajitsinh  ·  5Comments

Minitour picture Minitour  ·  4Comments

nickgate picture nickgate  ·  4Comments

rainerjungwirth picture rainerjungwirth  ·  4Comments