图片水印
protected void AddWaterPic(string Path, string Path_syp, string Path_sypf)

{
System.Drawing.Image image = System.Drawing.Image.FromFile(Path);
System.Drawing.Image copyImage = System.Drawing.Image.FromFile(Path_sypf);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(image);
g.DrawImage(copyImage, new System.Drawing.Rectangle(image.Width - copyImage.Width, image.Height - copyImage.Height, copyImage.Width, copyImage.Height), 0, 0, copyImage.Width, copyImage.Height, System.Drawing.GraphicsUnit.Pixel);
g.Dispose();

image.Save(Path_syp);
image.Dispose();
}
相关文章:
-
2022-01-11
-
2021-06-03
-
2021-12-26
-
2021-12-30
猜你喜欢
-
2022-12-23
-
2022-12-23
-
2021-11-23
-
2021-12-05
-
2021-12-05
相关资源
-
下载
2023-01-15
-
下载
2021-06-05
-
下载
2022-12-09