ainame/Swift-WebP

A thin Swift wrapper of libwebp to make your own encoder/decoder app


Keywords
image-processing, libwebp, swift, swift-wrapper, webp
License
MIT

Documentation

Swift-WebP

Swift binding for libwebp

Currently, this project is WIP.

WARNING

Thank you for using WebP. Before you release your awesome project to the world, complete the following steps.

THIS LIST IS EASY, CHECK IT OFF ONE-BY-ONE BABY!

  • Open the project in Xcode and add features to WebP
  • Make sure you are using Swift 3 ("Convert to latest Swift syntax")
  • Fix all build errors and warnings, add tests (yes really)
  • Add a screenshot or AT LEAST some picture, and fill in this readme
  • Add all details to your Podspec
  • Delete all this crap up here
  • Make one release (full steps are in [CONTRIBUTING.md] in case you forget)

THEN YOU'RE DONE, GO STAR swift3-module-template FOR UPDATES.


WebP

CI Status Version License Platform Carthage compatible

Screenshot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate WebP into your Xcode project using CocoaPods, specify it in your Podfile:

use_frameworks!

pod 'WebP'

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate WebP into your Xcode project using Carthage, specify it in your Cartfile:

github "ainame/WebP" ~> 0.1

Run carthage update to build the framework and drag the built WebP.framework into your Xcode project.

Author

ainame

License

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