/Nuke-WebP-Plugin

Support WebP Plugin for Nuke

Primary LanguageSwiftMIT LicenseMIT

Nuke-WebP-Plugin

CI Status codecov 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

pod 'Nuke-WebP-Plugin'
github 'ryokosuge/Nuke-WebP-Plugin'

Requirements

  • iOS 10+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0
  • Xcode10.2
  • Swift5

Dependencies

Author

ryokosuge, ryo.kosuge@gmail.com

License

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