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?
相关问题
- Views base64 encoded blob in HTML with PHP
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- How to get the background from multiple images by
- Why am I getting UnauthorizedAccessException on th
Easy...
var img = Bitmap.FromStream(stream);
You can run from Bitmaps straight into the arms of Images.
From whence you can do other operations:
For phone this should work:
Great job! I tested this with: