Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 390 Bytes
This category allows you to resize an UIImage at a constraint size, or proportionally so that it fits in a given CGSize.
This category defines the following methods :
-(UIImage*)resizedImageWithSize:(CGSize*)size;
-(UIImage*)resizedImageToFitInSize:(CGSize*)size resizeIfSmaller:(BOOL)resizeIfSmaller;
This methods takes correctly the imageOrientation / EXIF orientation into account.