Hi,
My project that generates and reads QR-Codes has deployment target 10.10 and base SDK 10.11.
How can I use here CIImage and CIFilter?
The generated image (QR-Code image) in the NSImageView is black (on 10.11) and I became the following log message:
"Core Image is now using the software OPENGL renderer. This will be slow.".
Furthermore I become the following message:
"[CIContext createCGImage:fromRect:format:colorSpace:] unsupported colorspace."
The following code is used [CIContext createCGImage:fromRect:] method not [CIContext createCGImage:fromRect:format:colorSpace:]:
CIContext *context = [CIContext contextWithCGContext:bitmapRef options:nil];
CGImageRef bitmapImage = [context createCGImage:ciImage fromRect:extent];
The App works properly on 10.10, but not on 10.11.
I know that the CoreImage framework was move in 10.11. But it works with the #import <Quartz/Quartz.h>
Thanks a lot!
Lovelace