Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

ryokosuge/Nuke-WebP-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b8062c · Sep 14, 2021
Sep 14, 2021
Jul 1, 2020
Jul 2, 2020
Jan 15, 2021
Jun 3, 2019
Jul 2, 2020
May 2, 2018
Jul 1, 2020
Jan 13, 2021
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020
Sep 14, 2021
Jan 13, 2021
Sep 9, 2021
Jul 2, 2020

Repository files navigation

Nuke-WebP-Plugin

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

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

Minimum Requirements

Swift Xcode iOS macOS tvOS watchOS
5.1, 5.2 11.0 11.0 10.13 11.0 4.0

Dependencies

Nuke libwebp
>= 9.0 v1.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.