CGContextRef context = CGBitmapContextCreate(nil,
width, //if width More than 6002/4
height,
8,
width*4,//if width*4 > 6002
colorSpace,
kCGImageAlphaPremultipliedFirst |kCGBitmapByteOrder32Little);
난 폭 * 4> (6002)은 큰 비트 맵을 감사를 구축하는 방법이IOS CGBitmapContextCreate 큰 비트 맵
<Error>: CGBitmapContextCreate: unsupported parameter combination:
8 integer bits/component; 32 bits/pixel;
3-component color space; kCGImageAlphaPremultipliedFirst; 6002 bytes/row.
하는 오류가있는 경우 (= 2,500 < 폭) 큰 비트 맵을 구축하고자.
감사를 구축하는 몇 가지 코드를 줄 수있는, 이해할 수없는 – zt9788