string path = System.IO.Directory.GetCurrentDirectory() + @"\POIImages\";
Guid imgid = Guid.NewGuid();
byte[] ImageByte = Convert.FromBase64String(pic); /// <summary>
/// 存储图片
/// </summary>
/// <param name="ImageByte"></param>
/// <returns></returns>
public void SaveImage(byte[] ImageByte,Guid imgid,string path)
{
//string path = System.IO.Directory.GetCurrentDirectory() + @"\POIImages\";
FileStream fileStream = null;
FileInfo fileInfo = new FileInfo(path + imgid+".png");
fileStream = fileInfo.OpenWrite();
fileStream.Write(ImageByte, , ImageByte.Length);
fileStream.Close();
}