C# 读取二进制图片到Bitmap

Image Image1 = null;
byte[] Image1Bytes = null;
//从数据库中提取出来的二进制数据
Image1Bytes = (byte[])dtPic.Rows[0]["??"];
Image1 = new Bitmap(new System.IO.MemoryStream(Image1Bytes ));
//用picturebox进行调用
picturebox1.Image = prodCodeImage;
原文地址:https://www.cnblogs.com/tryzi/p/2582832.html