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