Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 708 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 708 Bytes

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];

UIImage-ImageCompress_demo

Author

Abraham Kuri