mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
544 B
C
20 lines
544 B
C
5 years ago
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@interface UIImage (normalizeImage)
|
||
|
|
||
|
- (UIImage *)normalizedImage;
|
||
|
- (UIImage *)resizedWithQuality:(CGInterpolationQuality)quality rate:(CGFloat)rate;
|
||
|
|
||
|
- (nullable UIImage *)resizedWithMaxDimensionPoints:(CGFloat)maxDimensionPoints;
|
||
|
- (nullable UIImage *)resizedImageToSize:(CGSize)dstSize;
|
||
|
- (UIImage *)resizedImageToFillPixelSize:(CGSize)boundingSize;
|
||
|
|
||
|
+ (UIImage *)imageWithColor:(UIColor *)color;
|
||
|
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|