BitmapImage.Setsource()
To convert Picture ByteArray to Image source:
BitmapImage bmi= new BitmapImage();
MemoryStream ms = new MemoryStream(PictureBytes);
bmi.SetSource(ms);
Image.Source = bmi;
Hi,
We are pleased to inform you that the feature that you have voted for on UserVoice (BitmapImage.Setsource()) is now available in C#/XAML for HTML5 (CSHTML5)! You will find sample source code at the following URL:
http://forums.cshtml5.com/viewtopic.php?f=4&t=1485
You can download the latest stable version of the product from:
http://cshtml5.com/download.aspx
Please feel free to send feedback by posting on the forums (forums.cshtml5.com) or by sending an email to support@cshtml5.com
Your UserVoice votes have been given back to you. You can use them to vote for other features on http://cshtml5.uservoice.com
Thank you for your valuable feedback!
Regards,
The CSHTML5 Team