WebP format support
diehardest opened this issue · 3 comments
diehardest commented
Hi, guys!
I'm trying to download webp image at url @"https://www.gstatic.com/webp/gallery/2.sm.webp" simply using this method
- (void)setImageWithResource:(nullable id)resource targetSize:(CGSize)targetSize contentMode:(DFImageContentMode)contentMode options:(nullable DFImageRequestOptions *)options;
However I'm getting the error
Error Domain=DFImageManagerErrorDomain Code=-2 "The operation couldn’t be completed. (DFImageManagerErrorDomain error -2.)"
Could you help me, please?
kean commented
Hi, I've tested it in a demo project and it works fine. Did you install DFImageManager/WebP
subspec? It's optional, you should install it explicitly.
diehardest commented
Oops, my bad, sorry. Thank you for the fast response and the great framework! Спасибо :)
kean commented
Cheers 🍺 There are 2 more optional subspecs