A plugin for Nuke to display AVIF images.
Based on https://github.com/ryokosuge/Nuke-WebP-Plugin
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)
pod 'Nuke-AVIF-Plugin'
github 'delneg/Nuke-AVIF-Plugin'
Swift | Xcode | iOS | macOS | tvOS | watchOS |
---|---|---|---|---|---|
5.1, 5.2 | 11.0 | 11.0 | 10.13 | 11.0 | 4.0 |
Nuke | libavif |
---|---|
>= 9.0 | v0.9.2 |
Nuke-AVIF-Plugin is available under the MIT license. See the LICENSE file for more info.