C#中图片白色转为透明,如何保存为PNG格式?

2025-02-27 09:47:07
推荐回答(1个)
回答1:

bmp.Save(System.Web.HttpContext.Current.Server.MapPath("文件名"), ImageFormat.Png);