Hi Guys,
I have this method
public void SetSource(Stream streamSource);
which sets the source of BitmapSource
, is there a way to convert my URI or my image file location and pass it as a stream?
(another issue):
Uri uri = new Uri("../images/MyImage.png", UriKind.Relative);
BitmapImage btmp1 = new BitmapImage(uri);
WriteableBitmap btmp = new WriteableBitmap(btmp1);
I am getting an error NULL exception when creating an instance of btmp (because it is expecting a BitmapImageSource)...but how do I get what I am after?
thanks,
Voodoo