//
//  ImageTool.h
//  besttoneMobile
//
//  Created by Besttone on 16/12/6.
//  Copyright © 2016年 Besttone. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ImageTool : NSObject
+ (NSData *)zipImageWithUrl:(id)imageUrl;
+ (NSData *)zipImageWithUrl:(id)imageUrl maxSize:(CGFloat)size;
+ (NSData *)zipImageWithImage:(UIImage *)image maxSize:(CGFloat)size;
+ (CGFloat )getImageSize:(UIImage *)image;
+ (UIImage *)imageWithUrl:(id)imageUrl;
+ (UIImage *)zipImageBackImageWithImage:(UIImage *)image maxSize:(CGFloat)size;
@end
