Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Out of Memmory exception when rendering Bitmap under Windows 8.1

$
0
0

Dear all,

In an application used with 46" touch screen I am using pictures in my application as follow :

<Image RenderOptions.BitmapScalingMode="HighQuality" Source="../Resources/key.png" Width="40" Height="40" Stretch="Fill" VerticalAlignment="Center"/>

By doing so when starting my app, I get an Out of memory exception.

If I remove the RenderOptions property then it works ok but image appears in bad quality in big screen.

This Render option works fine under Window 7

Environement :

Windows 8.1 64 bits
Application targeting Framework 4.0
I5 Intel with 4 GB ram

Any idea for such issue ?

regards

serge


Your knowledge is enhanced by that of others.



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>