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