Newbie Newbie - 1 month ago 7
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

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

Comments