// // UIImage+Utils.h // Juick // // Created by Vitaly on 01.02.14. // Copyright (c) 2014 com.juick. All rights reserved. // #import @interface UIImage (Utils) + (UIImage*)imageWithImage:(UIImage *)image convertToWidth:(float)width covertToHeight:(float)height; + (UIImage*)imageWithImage:(UIImage *)image convertToHeight:(float)height; + (UIImage*)imageWithImage:(UIImage *)image convertToWidth:(float)width; + (UIImage*)imageWithImage:(UIImage *)image fitInsideWidth:(float)width fitInsideHeight:(float)height; + (UIImage*)imageWithImage:(UIImage *)image fitOutsideWidth:(float)width fitOutsideHeight:(float)height; + (UIImage*)imageWithImage:(UIImage *)image cropToWidth:(float)width cropToHeight:(float)height; + (UIImage*)placeholderImageWithColor:(UIColor *)color size:(CGSize)size; @end