Newbie Newbie - 11 months ago 70
C# Question

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?

I4V I4V
Answer Source

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