欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

【ImageMagick】增加水印

程序员文章站 2022-07-13 14:10:42
...
using (var image = new ImageMagick.MagickImage(ofg.FileName))
{
    var draw = new ImageMagick.Drawables();
    draw.FontPointSize(60);
    draw.Font("宋体");
    draw.FillColor(ImageMagick.MagickColors.Orange);
    draw.TextAlignment(ImageMagick.TextAlignment.Left);
    draw.Text(100, 100, "Image\nMagick.NET");
    draw.Draw(image);
    this.pictureBox1.Image = image.ToBitmap();
}

【ImageMagick】增加水印

相关标签: ImageMagick