WebP image decoder for Nuke written in swift. It support progressive WebP
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 AdvancedWebPDecoder(options: options)
})
Swift | Xcode | iOS | macOS | tvOS | watchOS |
---|---|---|---|---|---|
5.4 | 13.0 | 11.0 | 10.13 | 11.0 | 4.0 |
Nuke | libwebp |
---|---|
>= 12.0.0 | >=v1.2.1 |
makleso6, makleso6@gmail.com
NukeWebP is available under the MIT license. See the LICENSE file for more info.