用于记录一些简短的想法
NSData *data = [img TIFFRepresentation];NSBitmapImageRep *rep = [NSBitmapImageRep imageRepWithData:data];data = [rep representationUsingType:NSPNGFileType properties:nil];[data writeToFile:@"/path/test.png" atomically:NO];
« [1][2][3][4][5][6][7][8][9] » 5/45
你用什么文本编辑器?
查看结果
./configure –disable-mac-universal
修改 Makefile, 删除 -Werror.
修改 include/pa_mac_core.h, 删除这两行:
#include <AudioUnit/AudioUnit.h>
//#include <AudioToolbox/AudioToolbox.h>
加上这一行:
#include <CoreAudio/CoreAudio.h> Reply
set backspace=indent,eol,start Reply
Reply