Reputation: 1401
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
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