equal
deleted
inserted
replaced
20 #import <Foundation/Foundation.h> |
20 #import <Foundation/Foundation.h> |
21 |
21 |
22 |
22 |
23 @interface UIImage (extra) |
23 @interface UIImage (extra) |
24 |
24 |
25 +(UIImage *)whiteImage:(CGSize) ofSize; |
25 + (UIImage *)whiteImage:(CGSize)ofSize; |
26 +(UIImage *)drawHogsRepeated:(NSInteger) manyTimes; |
26 + (UIImage *)drawHogsRepeated:(NSInteger)manyTimes; |
27 +(CGSize) imageSizeFromMetadataOf:(NSString *)aFileName; |
27 + (CGSize)imageSizeFromMetadataOf:(NSString *)aFileName; |
28 |
28 |
29 -(UIImage *)scaleToSize:(CGSize) size; |
29 - (UIImage *)scaleToSize:(CGSize)size; |
30 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint; |
30 - (UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint)secondImagePoint; |
31 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect; |
31 - (id)initWithContentsOfFile:(NSString *)path andCutAt:(CGRect)rect; |
32 -(UIImage *)cutAt:(CGRect) rect; |
32 - (UIImage *)cutAt:(CGRect)rect; |
33 -(UIImage *)convertToGrayScale; |
33 - (UIImage *)convertToGrayScale; |
34 -(UIImage *)convertToNegative; |
34 - (UIImage *)convertToNegative; |
35 -(UIImage *)maskImageWith:(UIImage *)maskImage; |
35 - (UIImage *)maskImageWith:(UIImage *)maskImage; |
36 -(UIImage *)makeRoundCornersOfSize:(CGSize) sizewh; |
36 - (UIImage *)makeRoundCornersOfSize:(CGSize)sizewh; |
37 |
37 |
38 @end |
38 @end |