1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/thirdparty/UIImage+WebP.h

17 lines
399 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
//
// UIImage+WebP.h
// iOS-WebP
//
// Created by Sean Ooi on 12/21/13.
// Copyright (c) 2013 Sean Ooi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (WebP)
+ (UIImage *)convertFromWebP:(NSString *)filePath compressedData:(__autoreleasing NSData **)compressedData error:(NSError **)error;
+ (UIImage *)convertFromGZippedData:(NSString *)filePath size:(CGSize)size;
@end