Latest 1.0.1
Homepage https://github.com/AliSoftware/UIImage-Resize
License MIT
Platforms ios 5.0
Authors

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*)resizedImageToSize:(CGSize*)size;
-(UIImage*)resizedImageToFitInSize:(CGSize*)size scaleIfSmaller:(BOOL)scale;

This methods takes correctly the imageOrientation / EXIF orientation into account.

Latest podspec

{
    "name": "UIImage-Resize",
    "version": "1.0.1",
    "summary": "Category to add some resizing methods to the UIImage class, to resize it to a given CGRect u2014 or fit in a CGRect keeping aspect ratio.",
    "homepage": "https://github.com/AliSoftware/UIImage-Resize",
    "authors": {
        "AliSoftware": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AliSoftware/UIImage-Resize.git",
        "tag": "1.0.1"
    },
    "license": "MIT",
    "source_files": "*.{h,m}",
    "platforms": {
        "ios": "5.0"
    },
    "requires_arc": false
}

Pin It on Pinterest

Share This