|
- CGContextRef context = CGBitmapContextCreate(NULL, width, height, 8, 32, YYCGColorSpaceGetDeviceRGB(), contextBitmapInfo);
|
|
|
|
|
|
+ CGContextRef context = CGBitmapContextCreate(NULL, width, height, 8, 0, YYCGColorSpaceGetDeviceRGB(), contextBitmapInfo);
|
|
CGContextDrawImage(context, CGRectMake(0, 0, width, height), srcImage); // decode and convert
|
|
CGContextDrawImage(context, CGRectMake(0, 0, width, height), srcImage); // decode and convert
|