在图像上增加文字 C#
2021-07-08 13:07
标签:for inpu png NPU span file wstring data- phi 在图像上增加文字 C# 标签:for inpu png NPU span file wstring data- phi 原文地址:https://www.cnblogs.com/zeroone/p/9738107.htmlusing (Image i = Image.FromFile(inputPath))
{
using (Graphics g = Graphics.FromImage(i))
{
g.DrawString("John", Font, Brushes.Black, new PointF(fX, fY1));
g.DrawString("2018-10-01", Font, Brushes.Black, new PointF(fX, fY2));
}
i.Save(outputPath, ImageFormat.Png);
}
下一篇:c# ,socket