Nitha Paul
Nitha Paul

Reputation: 1401

How to retain Listbox visualization with high resolution images in windows phone 8

I am in between of developing a document scanning application,

In that i need to save more than 50 images in a single document. So my issue is during the time of loading the saved images to listbox, i think i am loosing the visualization of listbox, And hence the memory consumption increases dramatically and caused application crash.

How i can load this images to listbox, without loosing the visualization of listbox?

Upvotes: 1

Views: 83

Answers (1)

Andrei Zhukouski
Andrei Zhukouski

Reputation: 3506

In my current project (winrt) I have similar problem and solved it by resizing images during binding (in getter of nested field)

  get
     {
          return new BitmapImage(new Uri(url)) { DecodePixelWidth = 200 };
     }

Hope it's help you too.

Upvotes: 1

Related Questions