title: GPUImageStillCamera Output Resolution Limited
body: <p>On an iPad 3 Retina with iOS 6.1, I initialize my still camera with:</p>
  
  <pre><code>stillCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPresetPhoto cameraPosition:AVCaptureDevicePositionBack];
  stillCamera.outputImageOrientation = UIInterfaceOrientationLandscapeLeft;
  </code></pre>
  
  <p>I set up the camera with these filters:</p>
  
  <pre><code>UIImage *inputImage = [UIImage imageNamed:@"blank-1x1.png"];
  sourcePicture = [[GPUImagePicture alloc] initWithImage:inputImage smoothlyScaleOutput:YES];
  [sourcePicture processImage];
  
  chromaKeyBlendFilter = [[GPUImageChromaKeyBlendFilter alloc] init];
  [chromaKeyBlendFilter setColorToReplaceRed:0.0 green:1.0 blue:0.0];
  [chromaKeyBlendFilter setThresholdSensitivity:0.37f];
  filter = chromaKeyBlendFilter;
  
  [stillCamera addTarget:filter];
  [sourcePicture addTarget:filter];
  
  [filter addTarget:videoPreviewView]; // 1024x768 view
  [stillCamera startCameraCapture];
  </code></pre>
  
  <p>And when I capture the image I use:</p>
  
  <pre><code>[stillCamera capturePhotoAsPNGProcessedUpToFilter:filter withCompletionHandler:^(NSData *processedPNG, NSError *error){
      self.currentImage = [UIImage imageWithData:processedPNG];
  });
  </code></pre>
  
  <p>But the image I get back is screen-sized (Retina style) 2048x1536 instead of what I expect for the back camera as 2420x1936. I've also noticed that #imageFromCurrentlyProcessedOutputWithOrientation# only returns screen size as well and looking at the capture code in GPUImageStillCamera.m, it looks as though that is where the output originates.</p>
  
  <p>I don't know why because I also have an option/button to use a non-GPUImage setup and I get back PNG images of 2420x1936.</p>
  
  <p>What am I doing wrong here? Thanks for any tips (because I <em>really</em> want 2420x1936).</p>