An open API service indexing awesome lists of open source software.

https://github.com/icell/mozi

Mozi(墨子) - Image compression extension for iOS, swift version of Luban(鲁班)
https://github.com/icell/mozi

image-compression ios luban swift

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# Mozi

[![Version](https://img.shields.io/cocoapods/v/Mozi.svg?style=flat)](http://cocoapods.org/pods/Mozi)
[![License](https://img.shields.io/cocoapods/l/Mozi.svg?style=flat)](http://cocoapods.org/pods/Mozi)
[![Platform](https://img.shields.io/cocoapods/p/Mozi.svg?style=flat)](http://cocoapods.org/pods/Mozi)

The code is refered to the code of [Luban](https://github.com/Curzibn/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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
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.