图片加水印的小结

最近项目好忙啊,原本打算继续深入研究一下图片加水印的专题,看来只好半途先打住了。不管怎样,先将前段时间的小研究作个小结。 一、原理篇 使用.NET的GDI+技术给图片加水印 二、应用篇 给图片添加水印的C#类库 利用该原理,制作了一个可重用的类库,这样就一劳永逸,在以后的项目中,若有给图片添加水印的需要,直接引用即可,不需要再温习原理一切重头来过了。 使用HttpHandler防止图片... [More]

BlogEngine.NET的图片护卫插件

摘要 图片护卫插件使你能够用三种不同的方式来保护你博文中的图片,这是首款(至少目前是)拥有如此功能的BlogEngine.NET插件。这三种不同的保护方式分别是: 水印方式(Watermark): 当你的图片被别的站点盗链时,在图片上加上水印,比如加个你的域名,起码告诉了浏览者,这是属于你的图片(顺便还宣传了你自己的网站,不是吗?: ) )。这是默认的护卫方式; ... [More]

Image Guard Extension for BlogEngine.NET

Image Guard is the first (if not unique, at least for the moment) BlogEngine.NET extension that allows you guard your image files in blog posts in three different ways when they are displayed on other sites.

Watermark: Add watermark to your images. (That’s a good way to spread your web site, isn’t it ? : ) );

Block: Replace the image that other sites request with a block image, such as an image only shows Not Allowed text on it;

Reject: Responde the request with 403 code. [More]

给图片添加水印的C#类库

本文提供了一个给图片添加水印的C#类库,首先介绍了它的使用方法,其次介绍了该类库的结构,最后公开了它的源代码以及整个项目文件。 [More]