How can I load a BitmapSource from an image file?
BitmapSource
This works for me:
BitmapSource bSource = new BitmapImage(new Uri("c:\image.bmp")); BitmapImage bImage = new BitmapImage(new Uri("c:\image.bmp"));
1.4m articles
1.4m replys
5 comments
57.0k users