//
//  ImageUtils.h
//  AntsContract
//
//  Created by Ray on 12/20/16.
//  Copyright © 2016 United Software Applications, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ImageUtils : NSObject
+ (CGRect)scaleToSize:(CGRect )from to:(CGSize)to;
+ (CGRect)rectAlign:(CGRect )parent rect:(CGRect)rect hAlign:(NSString*)hAlign vAlign:(NSString*)vAlign;
+ (NSData*) load_cached_img:(NSString*) filename loadFrom:(NSString*) path;
+ (NSData*) load_img:(NSString*) filename ;
@end
