c#图片base64去转义字符_C#中图片转换为Base64编码,Base64编码转换为图片
#region 图片转为base64编码的字符串public string ImgToBase64String(string Imagefilename){try{Bitmap bmp = new Bitmap(Imagefilename);MemoryStream ms = new MemoryStream();bmp.Save(ms, System.Drawing.Imaging.ImageF...