Skip to content

IcaliaLabs/UIImage-ImageCompress

Repository files navigation

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