摘要:
public Image ReadImage(byte[] bytes){MemoryStream ms=new MemoryStream(bytes,0,bytes.Length);BinaryFormatter bf = new BinaryFormatter();object obj=bf.Deserialize(ms); ms.Close(); return (Image)obj;}/// /// 将Image转换为byte[]/// /// Image/// byte[]public byte[] ConvertImage(Image image){MemoryStream ms.. 阅读全文