GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

imageFromCurrentlyProcessedOutput when in Landscape is incorrect

Open powellmark opened this issue 14 years ago • 4 comments

The resulting UIImage generated by imageFromCurrentlyProcessedOutput when in landscape is rotated incorrectly.

powellmark avatar Aug 04 '12 04:08 powellmark

I found that if I just always force UIImageOrientationUp it's fine. So, I now call imageFromCurrentlyProcessedOutputWithOrientation instead.

powellmark avatar Aug 07 '12 15:08 powellmark

Well my Image rotation is UP all the time... still I have that problem but maybe it works when I use right instead

K4stor avatar Aug 07 '12 20:08 K4stor

btw the image happends to rotate each time I process the image

K4stor avatar Aug 07 '12 21:08 K4stor

OK I solved the problem !

I added 2 filters/targets to be able to switch between the do nothing filter and the other one. It seems to be a bug when working with more than one target. So I call removeAllTragets and add the filter manualy and it works without hackin the orientation

K4stor avatar Aug 08 '12 10:08 K4stor