WebP for Nuke that allows you to load and display WebP image. You can see it for yourself in a demo, included in the project.
The plugin features a pre-configured Nuke.Manager with WebP support, and an WebPImage:
import Nuke
import NukeWebPPlugin
WebPImageDecoder.enable()
let imageView = UIImageView()
let webpimageURL = URL(string: "https://example.com/sample.webp")!
Nuke.loadImage(with: url, into: imageView)
pod 'Nuke-WebP-Plugin'
github 'ryokosuge/Nuke-WebP-Plugin'
Swift | Xcode | iOS | macOS | tvOS | watchOS |
---|---|---|---|---|---|
5.1, 5.2 | 11.0 | 11.0 | 10.13 | 11.0 | 4.0 |
Nuke | libwebp |
---|---|
>= 9.0 | v1.0.0 |
ryokosuge, ryo.kosuge@gmail.com
Nuke-WebP-Plugin is available under the MIT license. See the LICENSE file for more info.