mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
19 lines
544 B
Objective-C
19 lines
544 B
Objective-C
#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
|