I\'m trying to get bitmap context with the following code:
GContextRef MyCreateBitmapContext (int pixelsWide, int pixelsHigh) { CGContextRef context = NUL
The generic color space is deprecated. Instead try;
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB()