The following looks like a fix, but not sure if this is the best way to handle this saved link?
- (UIImage *)imageWithFilter:(CIFilter *)filter { CIContext *ctx = [CIContext contextWithOptions:nil]; CGImageRef imageRef = [ctx createCGImage:filter.outputImage fromRect:CGRectMake(0, 0, self.size.width, self.size.height)]; UIImage *image = [UIImage imageWithCGImage:imageRef]; CGImageRelease(imageRef); return image; }
source share