Performance Differences - Image Binding : Uri or BitmapImage

3 posts, 0 answers
  1. Edouard
    Edouard avatar
    17 posts
    Member since:
    Feb 2011

    Posted 20 May 2011 Link to this post

    Hi,

    I'm using the LoopingList with a simple ItemTemplate : just an image (Stretch is None).

    If I bind the Source property of the Image with an Uri, the first scrolls aren't smooth because it's loading the images. When all images are loaded, it's scrolling smoothly.

    If I bind the Source property of the Image with a BitmapImage (loaded from the IsolatedStorage, so the app can run in flight mode), the UI & Compositor Thread are running at 50-55 fps, but the scrolling isn't totally smooth.

    Is there a way to have a LoopingList with BitmapImage binding running as smooth as with Uri binding ?

    Thanks,
  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 23 May 2011 Link to this post

    Hi Edouard,

    Thanks for contacting us.

    Could you please prepare a sample Windows Phone 7 application that we can use to reproduce your performance issues. In this way we will be able to directly analyze them and see how we can help?

    Please note that you will have to open a new support ticket in order to be able to attach your app.

    Thanks for your time.

    Greetings,
    Deyan
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Edouard
    Edouard avatar
    17 posts
    Member since:
    Feb 2011

    Posted 23 May 2011 Link to this post

    Hi Deyan,

    Thanks for your answer.

    I tried to reproduce the issue in a small demo project, but there was an issue in my code getting the BitmapImage (if not in memory, loading from Isolated Storage or from the web). Now it's working great.

    Sorry for the time you lost to answer to my "fake issue".

    Maybe this thread needs to be delete.

    Thanks and sorry again.

    Best regards,
Back to Top