Hi,
My Windows Phone 7.5 app saves camera photos. On Nokia Lumia 920 a portrait image will be upside down. How to fix this?
Hi,
My Windows Phone 7.5 app saves camera photos. On Nokia Lumia 920 a portrait image will be upside down. How to fix this?
Hi Jari,
This is a Forum focused on development for Windows Phone platform. Your question should be posted on Nokia Support Discussions.
Cheers
João Cardoso
(I think it is fine here, "My Windows Phone 7.5 app" sounds as developing a WP app)
You are right Wizard, the "My" makes all the difference.
Jari,
Sorry if I was too fast to assume it was not a developer question. Can you give us more details if you are talking about the Windows Phone camera app or if you are referring to an App created by you? If its an app created by you, it would be nice if you could shows us the code you are using.
Cheers
João Cardoso
Hello,
I heard about this "issue" before , but since I don't have a Lumia920 now , there's no way I can reproduce it.
However I know that the phone store EXIF data about the pictures taken with cameraTask(including Orientation), so you could try accessing this data and orient your savedimage based on the orientation in the EXIF data.
I suggest you read the EXIF information with this great .net simple lib : http://www.codeproject.com/Articles/...ding-Exif-Data
I hope this helps,
Microsoft code sample
http://code.msdn.microsoft.com/wpapp...ample-52dae359
shows the problem I'm having. Just run it on Lumia 920. My app does not support front camera so you might want to remove the front cam initialization from MainPage.xml.cs but you start to see the problem with portrait photos even with the front cam.
Hi.
Microsoft code works correctly (Lumia 900 & 920) with CameraType.Primary. With frontcam, you need to add ScaleX =-1 in OnOrientationChanged.
You have problem with preview display or captured image? If it's captured image maybe this could help :
http://www.developer.nokia.com/Commu...f_loaded_image
Last edited by wizard_hu_; 2012-11-27 at 22:39. Reason: link was pointing to Wiki main page