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
-
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