No Description

FLImageHelper.h 654B

123456789101112131415161718192021222324
  1. //
  2. // FLImageHelper.h
  3. // FirstLink
  4. //
  5. // Created by unicode on 14-9-22.
  6. // Copyright (c) 2014年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface FLImageHelper : NSObject
  10. + (UIImage*)getAppIcon;
  11. + (UIImage*)generateThumbnailFromCenter:(UIImage*)image frame:(CGSize)dstSize;
  12. + (UIImage*)generateThumbnailFromTop:(UIImage*)image frame:(CGSize)dstSize;
  13. + (UIImage*)generateThumbnailFromBottom:(UIImage*)image frame:(CGSize)dstSize;
  14. + (UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize;
  15. + (UIImage*)generateDefaultHeadPhoto:(NSString*)nickname;
  16. + (UIImage *)imageWithColor:(UIColor *)color;
  17. @end