Replies: 1 comment
-
The resolution of your picture is too high . The memory usage by image can be calculated by |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've added a sample project and the jpeg image (Arc de Triomphe, from Wikipedia). Running the generated .exe in release shows about 32mb -> 320mb when the image is loaded.
All the code is in MainWindow.xaml.cs.
I believe I am using
BitmapImage
pretty canonically (not doing weird stuff).https://github.com/NWoodsman/ImageMemoryDemo
Beta Was this translation helpful? Give feedback.
All reactions