Is there anything I can do to help manage the huge amount of memory that WPF uses to render huge images - maybe something up to 10,000 x 10,000?
I need to maintain quality because scaling is key, but loading the Image control seems to require something from 50 to 700 MB of memory usage: S
I am not doing anything particularly smart with loading an image at the moment:
BitmapImage imageSource = new BitmapImage();
imageSource.BeginInit();
imageSource.UriSource = new Uri(imageUrl, UriKind.Absolute);
imageSource.CacheOption = BitmapCacheOption.OnLoad;
imageSource.EndInit();
image.Source = imageSource;
source
share