You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's easy and right time to drop the libwebp for user who set minimun deployment target version to iOS 14+.
ImageIO use hardware-accelerated codec instead of that libwebp (which is written in C and run on CPU), is much faster than the current WebP codecs on iOS 13.
Design
Introduce the new subclass for AWebP: SDImageAWebPCoder. The SDImageWebPCoder naming already been taken by another codec repo maintained by us. So this a new naming.
In the future (2 Years later ?), that SDWebImageWebPCoder repo may be deprecated.
Note: For Static WebP, you don't need to add SDImageAWebPCoder, the SDImageIOCoder already handle those cases.
Usage
For iOS 14+ user, you can use avaiable check to use the native WebP support. For iOS 13-, use the fallback version of libwebp support.
New Issue Checklist
Issue Description and Steps
Image/IO in iOS 14/macOS 14/tvOS 11/watchOS 7 supports WebP (including Animated WebP) nativally. See full changelog: http://codeworkshop.net/objc-diff/sdkdiffs/ios/14.0/ImageIO.html
It's easy and right time to drop the libwebp for user who set minimun deployment target version to iOS 14+.
ImageIO use hardware-accelerated codec instead of that libwebp (which is written in C and run on CPU), is much faster than the current WebP codecs on iOS 13.
Design
Introduce the new subclass for AWebP:
SDImageAWebPCoder
. TheSDImageWebPCoder
naming already been taken by another codec repo maintained by us. So this a new naming.In the future (2 Years later ?), that SDWebImageWebPCoder repo may be deprecated.
Note: For Static WebP, you don't need to add
SDImageAWebPCoder
, theSDImageIOCoder
already handle those cases.Usage
For iOS 14+ user, you can use avaiable check to use the native WebP support. For iOS 13-, use the fallback version of libwebp support.
The text was updated successfully, but these errors were encountered: