Skip to content

Category to add some resizing methods to the UIImage class, to resize it to a given CGRect — or fit in a CGRect keeping aspect ratio

License

Notifications You must be signed in to change notification settings

DonaldSullivan/UIImage-Resize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Category to add some resizing methods to the UIImage class, to resize it to a given CGRect — or fit in a CGRect keeping aspect ratio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published