capture image from GPUImageStillCamera without filter
Hi,
is it possible to capture an image from GPUImageStillCamera without filter?
When I set the filter to nil I get no image:
[_camera capturePhotoAsImageProcessedUpToFilter:nil withCompletionHandler:^(UIImage* processedImage, NSError* error) { // image is empty or nil }];
Hi Brad, Im now using your GPUImage framework. I need to capture the original image as well as the processed (filtered) image on one click of still image camera capture button. So, I think, it'ld be better to get the original image and then to apply the filter and process it using the similar filter effect to the GPUImagePicture.
So, I would like to capture original image but need to get the filtered still image camera output(for user display) as well. How can I do it? Can you suggest me how to do it?
Thanks,
Ananth
I'd like a way to get the unfiltered UIImage as well. I'm anticipating a UI where the user can turn filtering on and off. When off, I won't have a filter and would like to avoid going through the capturePhotoAs* methods as they scale the image down to get below 2048 on certain hardware.
You're going to need to use a filter of some sort for the capture to work, but you could use something like a gamma filter with the defaults set, which will just pass through the unfiltered image.