图片数据类型转换 NSImage、CIImage、CGImageRef
将NSImage转换为CIImage#import
// convert NSImage to bitmap
NSImage * myImage = [self currentImage];
NSData * tiffData = [myImage TIFFRepresentation];
NSBitmapImageRep * bitmap;
bitmap = [NSBitm
转载
2012-11-23 11:59:47 ·
2367 阅读 ·
0 评论