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"));
548k questions
547k answers
4 comments
86.3k users