Skip to content

EyreFree/ezgif.swift

Repository files navigation

ezgif.swift

CI Status Version License Platform

Example

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

Requirements

Installation

ezgif.swift is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ezgif'

Usage

let imageTodoUrl: String = "https://img.zcool.cn/community/01639c586c91bba801219c77f6efc8.gif"
Ezgif.shared.optimize(imageUrl: imageTodoUrl) { newFileUrl, error in
    if let error = error {
        printLog("Ezgif.shared.optimize error: \(error.localizedDescription)")
    } else {
        printLog("Ezgif.shared.optimize newFileUrl: \(newFileUrl ?? "")")
    }
}

Author

EyreFree, eyrefree@eyrefree.org

License

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published