×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    2

    Windows Phone Photo Upside Down

    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?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    964

    Re: Windows Phone Photo Upside Down

    Quote Originally Posted by Jari Ahola View Post
    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.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: Windows Phone Photo Upside Down

    (I think it is fine here, "My Windows Phone 7.5 app" sounds as developing a WP app)

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    964

    Re: Windows Phone Photo Upside Down

    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.

  5. #5
    Nokia Developer Champion
    Join Date
    Jul 2012
    Posts
    88

    Re: Windows Phone Photo Upside Down

    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,

  6. #6
    Registered User
    Join Date
    Nov 2012
    Posts
    2

    Re: Windows Phone Photo Upside Down

    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.

  7. #7
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    475

    Re: Windows Phone Photo Upside Down

    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

Similar Threads

  1. Save image into phone photo gallery
    By VVNart in forum [Archived] Qt Quick
    Replies: 0
    Last Post: 2011-05-12, 10:07
  2. Video - Upside down?
    By brynarfrippelina in forum Streaming and Video
    Replies: 0
    Last Post: 2004-09-21, 21:54
  3. Getting photo from the mobile phone
    By megeorgelee in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-01-15, 15:31
  4. 7250 Photo gallery browsing in windows XP
    By leom_h in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-05-15, 14:27
  5. Replies: 1
    Last Post: 2002-07-16, 06:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×