Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/icalialabs/uiimage-imagecompress
An iOS library to compress images and optimize uploads
https://github.com/icalialabs/uiimage-imagecompress
compressor image ios objective-c pod
Last synced: about 1 month ago
JSON representation
An iOS library to compress images and optimize uploads
- Host: GitHub
- URL: https://github.com/icalialabs/uiimage-imagecompress
- Owner: IcaliaLabs
- License: mit
- Created: 2013-12-13T18:02:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T19:21:35.000Z (over 7 years ago)
- Last Synced: 2024-12-10T04:10:23.811Z (about 1 month ago)
- Topics: compressor, image, ios, objective-c, pod
- Language: Objective-C
- Size: 295 KB
- Stars: 170
- Watchers: 13
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
UIImage+ImageCompress is a UIImage category that compress a local or
remote UIImage# Install
Install with [cocoapods](http://cocoapods.org/)
```
pod 'UIImage+ImageCompress'
```# Usage
```
UIImage *imageToCompress = [UIImage imageNamed:@"theJoker.jpg"];
UIImage *compressedImage = [UIImage compressImage:imageToCompress
compressRatio:0.9f];
```## Author
**Abraham Kuri**+ [http://github.com/kurenn](http://github.com/kurenn)