Open Abhishek-Shukla1989 opened 9 years ago
Code is having bad access when setting image through
(void)putUIImage:(UIImage *)image toRenderer:(id)renderer {
NSLog(@"%@",renderer); if (image == nil) { renderer.CIImage = nil; } else { renderer.preferredCIImageTransform = [CIImageRendererUtils preferredCIImageTransformFromUIImage:image]; renderer.CIImage = [CIImage imageWithCGImage:image.CGImage]; } }
Please help!!!!!!!
Hey,
This is working in the example. Could you give more information about your implementation?
Code is having bad access when setting image through
(void)putUIImage:(UIImage *)image toRenderer:(id)renderer {
NSLog(@"%@",renderer); if (image == nil) { renderer.CIImage = nil; } else { renderer.preferredCIImageTransform = [CIImageRendererUtils preferredCIImageTransformFromUIImage:image]; renderer.CIImage = [CIImage imageWithCGImage:image.CGImage]; } }
Please help!!!!!!!