Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryokosuge/nuke-webp-plugin
Support WebP Plugin for Nuke
https://github.com/ryokosuge/nuke-webp-plugin
nuke nuke-webp-plugin swift swift4 swift5 webp webp-support
Last synced: 4 days ago
JSON representation
Support WebP Plugin for Nuke
- Host: GitHub
- URL: https://github.com/ryokosuge/nuke-webp-plugin
- Owner: ryokosuge
- License: mit
- Archived: true
- Created: 2018-01-17T01:25:42.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T11:01:52.000Z (over 1 year ago)
- Last Synced: 2024-09-26T01:14:44.692Z (8 days ago)
- Topics: nuke, nuke-webp-plugin, swift, swift4, swift5, webp, webp-support
- Language: Swift
- Size: 370 KB
- Stars: 44
- Watchers: 2
- Forks: 33
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Support: Supporting Files/Info.plist
Awesome Lists containing this project
README
# Nuke-WebP-Plugin
![Test or Build](https://github.com/ryokosuge/Nuke-WebP-Plugin/workflows/Test%20or%20Build/badge.svg)
![Version](https://img.shields.io/cocoapods/v/Nuke-WebP-Plugin.svg?label=version)
![Supoprts](https://img.shields.io/badge/supports-CocoaPods%20%7C%20Carthage-green.svg)
![Platform](https://img.shields.io/badge/platforms-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS-lightgrey.svg)WebP for Nuke that allows you to load and display WebP image. You can see it for yourself in a demo, included in the project.
## Usage
The plugin features a pre-configured Nuke.Manager with WebP support, and an WebPImage:
```swift
import Nuke
import NukeWebPPluginWebPImageDecoder.enable()
let imageView = UIImageView()
let webpimageURL = URL(string: "https://example.com/sample.webp")!
Nuke.loadImage(with: url, into: imageView)
```## Installation
### [CocoaPods](https://cocoapods.org/)
```ruby
pod 'Nuke-WebP-Plugin'
```### [Carthage](https://github.com/Carthage/Carthage)
```ruby
github 'ryokosuge/Nuke-WebP-Plugin'
```## Minimum Requirements
| Swift | Xcode | iOS | macOS | tvOS | watchOS |
|:-----:|:-----:|:---:|:-----:|:----:|:-------:|
| 5.1, 5.2 | 11.0 | 11.0 | 10.13 | 11.0 | 4.0 |## Dependencies
| [Nuke](https://github.com/kean/Nuke) | [libwebp](https://chromium.googlesource.com/webm/libwebp) |
|:---:|:---:|
| >= 9.0 | v1.0.0 |## Author
ryokosuge, [email protected]
## License
Nuke-WebP-Plugin is available under the MIT license. See the LICENSE file for more info.