MemoryStream ms = new MemoryStream;
Image.Save(ms, ImageFormat.***);
//通过格式(ImageFormat)指定,将获取的Image转换对应的图片格式的流,并存储到了MemoryStream(变量ms)中。