RomanHouse
RomanHouse

Reputation: 2552

GPUImageStillCamera output image resolution

I'm trying to take photo from camera with GPUImage framework. Use standard implementation. But my output image has too low resolution - {640, 852}. Is there way to get more higher resolution?

Upvotes: 0

Views: 1166

Answers (1)

sivnatt
sivnatt

Reputation: 71

I had the same problem a while back. It was the way the AVCaptureSession was setup.

Try initializing the camera with the following:

GPUImageStillCamera *videoCamera = [[GPUImageStillCamera alloc]
            initWithSessionPreset:AVCaptureSessionPresetPhoto
                   cameraPosition:AVCaptureDevicePositionBack];

Upvotes: 2

Related Questions