目录
目录README.md

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

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.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号