我创建它画在我的基地png图片,从基础,我可以保存为PNG图像,供大家参考如何创建反向PNG图像?
Graphics g = e.Graphics;
....
g.DrawLine(pen, new Point(x, y), new Point(x1, y1));
.....
base.OnPaint(e);
using (var bmp = new Bitmap(500, 50))
{
base.DrawToBitmap(bmp, new Rectangle(0, 0, 500, 50));
bmp.Save(outPath);
}
这是单色透明图像,现在我怎么能逆这个形象像PNG充满任何颜色,真实图像部分应该是透明的,有没有可能性?
详细一点:如此透明会去不透明,哪里有补会去透明
我使用的载体,使极快的代码 [检查我的岗位更多信息](https://stackoverflow.com/a/44467764/6176081) – 2017-06-09 23:09:37