图片水印
protected void AddWaterPic(string Path, string Path_syp, string Path_sypf)
![](/Images/OutliningIndicators/ExpandedBlockStart.gif)
{
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();
![](/Images/OutliningIndicators/InBlock.gif)
image.Save(Path_syp);
image.Dispose();
}
posted @
2008-03-09 09:14
WUYQ
阅读(
239)
评论()
编辑
收藏
举报