WebP image decoder for Nuke written in swift
NukeWebP
WebP image decoder for Nuke written in swift.
Usage
For basic decoder:
import NukeWebP
import NukeWebPBasic
WebPImageDecoder.enable(auto: BasicWebPDecoder())
For advanced decoder:
import NukeWebP
import NukeWebPAdvanced
WebPImageDecoder.enable(closure: {
var options = WebPDecoderOptions()
options.useThreads = true
return AdvancesWebPDecoder(options: options)
})
Minimum Requirements
Swift | Xcode | iOS | macOS | tvOS | watchOS |
---|---|---|---|---|---|
5.5 | 13.2.1 | 11.0 | 10.13 | 11.0 | 4.0 |
Dependencies
Nuke | libwebp |
---|---|
>= 10.9.0 | >=v1.2.1 |
Author
makleso6, makleso6@gmail.com
License
NukeWebP is available under the MIT license. See the LICENSE file for more info.