mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/webp git-subtree-mainline: b317aab56885d50bcbc1e44f395ed0eeb3c1ce20 git-subtree-split: 4476fa2f8d85c9767ddd750918c4d97f1ee0d0e0
14 lines
331 B
Objective-C
14 lines
331 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface WebP : NSObject
|
|
|
|
+ (UIImage * _Nullable)convertFromWebP:(NSData * _Nonnull)data;
|
|
+ (NSData * _Nullable)convertToWebP:(UIImage * _Nonnull)image quality:(CGFloat)quality error:(NSError ** _Nullable)error;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|