Mozi icon indicating copy to clipboard operation
Mozi copied to clipboard

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

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, [email protected]

License

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