我想做个水印的功能WEB实现,但是我最终形成的文字在13号以上的话都会有黑色的边线。请各位指教一下?
  System.Drawing.Color changeColor = System.Drawing.ColorTranslator.FromHtml(c1.Value);
        Bitmap bitmap = new Bitmap(400, 150);
        Graphics g = Graphics.FromImage(bitmap);
        g.Clear(Color.Transparent);        Brush brush = new SolidBrush(changeColor);
        g.DrawString(Text1.Value, new Font("宋体", Convert.ToInt32(TextBox2.Text)), brush, new PointF(20, 20));        // #FFFF81
        g.SmoothingMode = SmoothingMode.AntiAlias;
        string path = "TextImages/" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".png";
        bitmap.Save(Server.MapPath("~/") + path, ImageFormat.Png);        System.IO.MemoryStream ms = new System.IO.MemoryStream();
        bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png);水印 背景无法透明