How To Use An Image In Wpf, BitmapImage supports both and an Uri can even be passed as constructor argument: .