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: 10 months 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T19:21:35.000Z (about 9 years ago)
- Last Synced: 2025-08-11T05:15:55.698Z (10 months ago)
- Topics: compressor, image, ios, objective-c, pod
- Language: Objective-C
- Size: 295 KB
- Stars: 170
- Watchers: 11
- 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)