开发者

Convert Bytes To Image

How can I convert bytes of Image to an 开发者_开发知识库Image?


The simplest way is probably to wrap the byte array in a MemoryStream and then use Image.FromStream:

MemoryStream ms = new MemoryStream(bytes);
Image image = Image.FromStream(ms);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜