如何利用HttpModule和HttpHandler对象给图片添加水印和验证码的获取
如何给图片添加水印
public void ProcessRequest(HttpContext context)
{
string filename = context.Request.PhysicalPath;
Bitmap bitmp = new Bitmap(filename);
Graphics graphics = Graphics.FromImage(bitmp);
graphic
原创
2021-06-02 20:52:00 ·
204 阅读 ·
0 评论