Embedded bitmap files and assembly size
I have several large embedded bitmap files in my resource project. The compiled exe is 13 megs. When I remove those bitmap files, it reduces to 6 me开发者_如何学运维gs.
I am trying to improve performance of the application. It is a WPF desktop application. Would it be better to load the images from disk rather than embed them in the exe? Should I convert them to png?
I suppose you should not embedded image into your compiled .exe, it's just the resource, then should load them from disk.
Generally, convert image files into .png is preferable.
Hope this help.
精彩评论