Camera rotation
Hi Brad, I've been stuck trying to get the GPUImageStillCamera to do something similar to the iPhone Camera app. What I want is the interface(tab bar, buttons) to rotate from portrait to landscape and vice versa while the camera view remains fixed. And when the iPhone is in portrait view, a portrait image is taken. When in landscape view, a landscape image is taken. I've been playing with setting outputImageOrientation and setInputRotation but have not had any luck getting the effect I want. 1> When rotating the device and calling setInputRotation causes the camera view to first rotate due to the device rotation and then another rotate due to calling setInputRotation. I'd like a smoother transition as when the iPhone camera app rotates. 2> When I rotate from portrait to landscape, I get black bars on the side instead of the full view 3> Rotating the device upside down causes the camera view to be upside down no matter what I pass in to setInputRotation
I'm not sure I fully understand the outputImageOrientation and how it relates to setInputRotation.
Thanks
Hi there,
I am facing the similar problem, did you able to fix this issue? or its implementation problem. thanks
I came to the conclusion that the best way to do this was leave the GPUImageView unrotated so I prevented autorotation for this view controller. And then manually rotate the other controls if any(I haven't done this part yet).
thanks, that's the route i took. thanks again
Have you found a way to rotate the other controls?
On Jul 31, 2012, at 9:24 AM, manjeettbz wrote:
thanks, that's the route i took. thanks again
Reply to this email directly or view it on GitHub: https://github.com/BradLarson/GPUImage/issues/187#issuecomment-7403609
Yes, i am using Notifications to adjust other controls on screen
What calls do you make to adjust the controls? I have a toolbar at the bottom and have no idea how to get that rotated so it's at the bottom in landscape view.
On Jul 31, 2012, at 11:17 AM, manjeettbz wrote:
Yes, i am using Notifications to adjust other controls on screen
Reply to this email directly or view it on GitHub: https://github.com/BradLarson/GPUImage/issues/187#issuecomment-7406920
i am working on that part now, using frame to adjust according to the view. and transforming buttons. but in my case we are nt moving the bar at the bottom