objective-c - ios 图片如何转化成二进制流
ringa_lee
ringa_lee 2017-04-18 09:40:31
0
1
588

ios 图片如何转化成二进制流

ringa_lee
ringa_lee

ringa_lee

répondre à tous(1)
大家讲道理
UIKIT_EXTERN  NSData * __nullable UIImagePNGRepresentation(UIImage * __nonnull image);                               // return image as PNG. May return nil if image has no CGImageRef or invalid bitmap format
UIKIT_EXTERN  NSData * __nullable UIImageJPEGRepresentation(UIImage * __nonnull image, CGFloat compressionQuality);  // return image as JPEG. May return nil if image has no CGImageRef or invalid bitmap format. compression is 0(most)..1(least)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal