UIImage+ImageCompress is a UIImage category that compress a local or remote UIImage
Install
Install with cocoapods
pod 'UIImage+ImageCompress'
Usage
UIImage *imageToCompress = [UIImage imageNamed:@"theJoker.jpg"];
UIImage *compressedImage = [UIImage compressImage:imageToCompress
compressRatio:0.9f];
Author
Abraham Kuri