Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 937 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 937 Bytes

NukeWebP

WebP image decoder for Nuke written in swift. It support progressive WebP

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 AdvancedWebPDecoder(options: options)
})

Minimum Requirements

Swift Xcode iOS macOS tvOS watchOS
5.4 13.0 11.0 10.13 11.0 4.0

Dependencies

Nuke libwebp
>= 10.9.0 >=v1.2.1

Author

makleso6, [email protected]

License

NukeWebP is available under the MIT license. See the LICENSE file for more info.