Home

Awesome

Nuke-AVIF-Plugin

A plugin for Nuke to display AVIF images.

Based on https://github.com/ryokosuge/Nuke-WebP-Plugin

Usage

The plugin features a pre-configured Nuke.Manager with AVIF support, and an AVIFImage:

import Nuke
import NukeAVIFPlugin

AVIFImageDecoder.enable()

let imageView = UIImageView()
let avifimageURL = URL(string: "https://example.com/sample.avif")!
Nuke.loadImage(with: url, into: imageView)

Installation

CocoaPods

pod 'Nuke-AVIF-Plugin', :git => 'https://github.com/delneg/Nuke-AVIF-Plugin.git'

Carthage

github 'delneg/Nuke-AVIF-Plugin'

Swift Package Manager

Go to File / Swift Packages / Add Package Dependency… and enter package repository URL https://github.com/delneg/Nuke-AVIF-Plugin.git, then select the latest exact version (0.9.3) at the time of writing.

Minimum Requirements

SwiftXcodeiOSmacOStvOSwatchOS
5.1, 5.211.011.010.1311.04.0

Dependencies

Nukelibavif
>= 9.0v0.9.3

License

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