×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2014
    Posts
    7

    RealTimeFilterDemo: How do I save image in portrait mode properly?

    I am trying to save the image into my phone media library in the RealTimeFilterDemo example.

    I manage to save in both portrait and landscape mode. However in portrait mode, the image does not use up the device capture portrait width and height. Instead it use a landscape bitmap size so the image is reduced in size.

    Download the sample project here from google drive

    To capture, just tap the screen and wait until the Debug says "Image saved". Then check your phone media library.

    What am I missing? Thanks

  2. #2
    Registered User
    Join Date
    Jan 2014
    Posts
    7

    Re: RealTimeFilterDemo: How do I save image in portrait mode properly?

    Never mind. I've figured it out. I need to detect the phone orientation and set the proper width and height of the WriteableBitmap when saving.

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    473

    Re: RealTimeFilterDemo: How do I save image in portrait mode properly?

    Have you look/test the sample i've done in another thraed?
    https://github.com/yan-verdavaine/wp...FilterTemplate

    I've save live with filter and manage orientation.

    Yan
    Windows 8, Windows phone 8 or Nokia Asha developer? Go to DVLUP

  4. #4
    Registered User
    Join Date
    Jan 2014
    Posts
    7

    Re: RealTimeFilterDemo: How do I save image in portrait mode properly?

    Thanks I will check that out.

Similar Threads

  1. Help: how to use WRT only in Portrait mode?
    By gomcoite in forum Symbian
    Replies: 3
    Last Post: 2011-02-18, 22:55
  2. Replies: 0
    Last Post: 2010-01-07, 07:04
  3. Fix portrait mode in N97 fw v.20
    By diegoves in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2009-11-16, 12:00
  4. Forceing Portrait Mode on n97
    By Corbella in forum Symbian
    Replies: 1
    Last Post: 2009-08-07, 10:09

Posting Permissions

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