Rotation issue on capturePhotoAsImageProcessedUpToFilter
When taking a picture with GPUImageStillCamera in landscape mode the resulting processedImage is incorrectly rotated. Portrait mode appears to be fine.
Just ran into this too. Do you have a solution?
Not yet. I'm a bit overwhelmed with the number of problems handling device orientations right now (especially with GPUImageStillCamera), haven't gotten to this yet.
Solved this by modifying GPUImageStillCamera.m to use:
UIImage *filteredPhoto = [finalFilterInChain imageFromCurrentlyProcessedOutputWithOrientation:UIImageOrientationUp];
instead of
UIImage *filteredPhoto = [finalFilterInChain imageFromCurrentlyProcessedOutput];
Probably not a good fix for the library, but works for my app.
This worked for me too. Thanks powellmark.
It worked for me too!