Search code examples
c#imagewindows-phone-7windows-phone-8stream

How to convert System.IO.Stream into an Image?


How can I convert a Stream of an image (which I retrieved using the Album.GetArt method from the MediaLibrary) into a usable Image in my application?


Solution

  • Easy... var img = Bitmap.FromStream(stream);