摘要: /// /// 将图片Image转换成Byte[]/// /// image对象/// 后缀名/// public static byte[] ImageToBytes(Image Image, System.Drawing.Imaging.ImageFormat imageFormat){if (Image == null) { return null; }byte[] data = null;using (MemoryStream ms= new MemoryStream()){using (Bitmap Bitmap = new Bitmap(Image)){Bitmap.Save(ms 阅读全文
posted @ 2013-11-25 13:06 星火卓越 阅读(2247) 评论(0) 推荐(1)