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

Newbie picture Newbie · Aug 8, 2013 · Viewed 54.9k times · Source

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?

Answer

I4V picture I4V · Aug 8, 2013

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