TuSDKImageUtil Class Reference
Inherits from | NSObject |
---|---|
Declared in | TuSDKImageUtil.h |
+ orientationWithCGImagePropertyOrientation:
CGImagePropertyOrientation -> UIImageOrientation
+ (UIImageOrientation)orientationWithCGImagePropertyOrientation:(CGImagePropertyOrientation)inputOrientation
Declared In
TuSDKImageUtil.h
+ colorSpaceGetDeviceRGB
从单例中获取颜色空间
+ (CGColorSpaceRef)colorSpaceGetDeviceRGB
Declared In
TuSDKImageUtil.h
+ createDecodedImageCopyWithImageRef:decodeForDisplay:
创建图像副本
+ (CGImageRef)createDecodedImageCopyWithImageRef:(CGImageRef)imageRef decodeForDisplay:(BOOL)decodeForDisplay
Parameters
imageRef |
CGImage 引用 |
---|---|
decodeForDisplay |
是否进行编码 |
Return Value
新的 CGImage 引用
Declared In
TuSDKImageUtil.h
+ bundlePreferredScales
获取最佳 scale 获取序列
+ (NSArray *)bundlePreferredScales
Return Value
最佳 scale 获取序列
Declared In
TuSDKImageUtil.h
+ scaleOfFileName:
使用正则表达式从文件名获取 scale
+ (CGFloat)scaleOfFileName:(NSString *)fileName
Parameters
fileName |
输入文件名 |
---|
Return Value
scale
Declared In
TuSDKImageUtil.h