GPUImage
GPUImage copied to clipboard
reuse GPUImageView of GPUImageStillCamera for more filters to apply
Hi Brad,
I believe a lot people here are working on sth similar to me:
- use GPUImageStillCamera to take a photo with several filters OR a Doing_Nothing filter
- pauseCameraCapture, and the GPUImageView will display the captured image (last frame from the camera).
- In order to apply a set of filters to the captured image, I have to get UIImage *capturedImage from capturePhotoAsJPEGProcessedUpToFilter: and create another GPUImagePicture *stillImageSource = [[GPUImagePicture alloc] initWithImage:capturedImage]; add target: filters, and addTarget: a GPUImageView, then processImage. I am thinking, since the GPUImageStillCamera's GPUImageView is displaying the image texture, can we just use it and add filters from there instead of create a GPUImagePicture... because it takes about as long as 1 second.
Thanks. Appreciate your efforts for developing this framework.
i have the same question to get captured image (last frame from the camera) ,and use it create another GPUImagePicture. can't captured original image?