如何的System.IO.Stream转换成图像? [英] How to convert System.IO.Stream into an Image?

查看:243
本文介绍了如何的System.IO.Stream转换成图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能转换图像的(我检索使用 Album.GetArt 方法从 MediaLibrary )成可用的图片在我的应用程序?

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?

推荐答案

易... IMG VAR = Bitmap.FromStream(流);

这篇关于如何的System.IO.Stream转换成图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆