/Mozi

Mozi(墨子) - Image compression extension for iOS, swift version of Luban(鲁班)

Primary LanguageSwiftMIT LicenseMIT

Mozi

Version License Platform

The code is refered to the code of Luban

Example

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

Installation

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

pod "Mozi"
let compressedImage = image.compressedImage()
let compressedImgData = image.compressedData()

Author

iCell, icell.vip@gmail.com

License

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