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(鲁班)
- Host: GitHub
- URL: https://github.com/icell/mozi
- Owner: iCell
- License: mit
- Created: 2017-05-31T16:30:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T07:19:57.000Z (over 7 years ago)
- Last Synced: 2025-06-25T19:52:44.319Z (about 1 year ago)
- Topics: image-compression, ios, luban, swift
- Language: Swift
- Homepage:
- Size: 8.16 MB
- Stars: 76
- Watchers: 2
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mozi
[](http://cocoapods.org/pods/Mozi)
[](http://cocoapods.org/pods/Mozi)
[](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.