title: Core Image Filter Crash issue
body: <p>I'm trying to load filters for the larger image size of dimensions nearly about 5000*3000 which I have downloaded from Web Search. When applying these filters for the larger image size the app crashes and hence the termination occurs. Below is the code which i'm using currently for the preview of filters :</p>
  
  <pre><code>CIContext *context = [CIContext contextWithOptions:nil];
  CIImage *outputImage = [filter.filter outputImage];
  CGImageRef cgimg = [context createCGImage:outputImage fromRect:[outputImage extent]];
  UIImage *displayImage = [UIImage imageWithCGImage:cgimg];
  </code></pre>
  
  <p>Line of code below is causing the issue, has anyone come across this issue ?</p>
  
  <blockquote>
    <p>CGImageRef cgimg = [context createCGImage:outputImage fromRect:[outputImage extent]];</p>
  </blockquote>