Nuke-WebP-Plugin

July 2, 2020 ยท View on GitHub

Test or Build Version Supoprts Platform

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.

Usage

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)

Installation

CocoaPods

pod 'Nuke-WebP-Plugin'

Carthage

github 'ryokosuge/Nuke-WebP-Plugin'

Minimum Requirements

SwiftXcodeiOSmacOStvOSwatchOS
5.1, 5.211.011.010.1311.04.0

Dependencies

Nukelibwebp
>= 9.0v1.0.0

Author

ryokosuge, ryo.kosuge@gmail.com

License

Nuke-WebP-Plugin is available under the MIT license. See the LICENSE file for more info.