Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.5 KB

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

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

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

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

Dependencies

Nuke libavif
>= 9.0 v0.9.3

License

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