Taken from another author in another thread:
Quote:
Originally Posted by realberen
Great, thank you for that link! :-)
For people reading this, all I had to change was really the colourspace, I had to set
Code:
colorSpace = CGColorSpaceCreateDeviceRGB();
instead of
Code:
colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
Cheers
Nik
|