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);
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);
上一篇:拾麦穗者 是谁画的啊??
《起床歌》MP3歌词-贝瓦儿歌?:下一篇
精彩评论