CGContextRef context = CGBitmapContextCreate(nil,
width, //if width More than 6002/4
height,
8,
width*4,//if width*4 > 6002
colorSpace,
kCGImageAlphaPremultipliedFirst |kCGBitmapByteOrder32Little);
我想建立一个大的位图(宽度< = 2500)时宽度* 4> 6002具有用于IOS CGBitmapContextCreate大的位图
<Error>: CGBitmapContextCreate: unsupported parameter combination:
8 integer bits/component; 32 bits/pixel;
3-component color space; kCGImageAlphaPremultipliedFirst; 6002 bytes/row.
如何建立一个大的位图 感谢一个错误。
非常感谢,我现在能做到这一点 – zt9788 2012-08-02 07:16:03