CoolWatermark is a .NET assembly to write watermark to images for ASP.NET
and Windows Forms. It reads all .NET supported Image types (Bmp, Emf, Exif, GIF,
Jpeg, TIF, Wmf, etc.) and write watermark text and overlapped image to the specified
image. All methods return System.Drawing.Image object so that you can operate on
it easily in your application. The component supports various effects, shape, and
brushes, including shadow, border, hollow, reflect, halo grow, block, arch, rainbow,
bugle, squeeze shear, swell, zoom, dither etc. It's possible to combine different
text effects and shapes to genearte your special watermark text.
CoolWatermark is currently having two versions: 2.x and 1.2. There is no
functionality and usage difference. Version 1.2 was only for Visual Studio.NET 2003,
and this version has been stopped upgrade. Vesion 2.x is for Visual Studio.NET 2005/2008,
and currently ImageComponent.NET is focusing on this version.
Pre-Calculated Positon
The component provides 9 pre-calculated position, which will be based on the font-family,
font size, and the text length you choose. The component will place your watermark
on the postiion that will diplay the full text. This feature saves your time to
calculate where the place the watermark. The following figure demonstrates six of
them.
The obvious difference you might have noticed is the text at "BottomLeft" and "BottomRight".
Because the letter "g" occupies an additional space in the bottom, that's why the
whole text at the "BottomRight" is a little higher than the one at "BottomLeft".
Text Effects
The component provides many different effects for writing watermark effects. For
example, you can add a shadow to the text, or rotate the text with an angle, or
use a hollow-look text.
There are eight different direction blocked text you can use. Here are three of
them:
Text Shapes
You can specify different shapes for your watermark text. The latest version supports
ArchUpper, ArchLower, Bulge, RipBottom, RipTop, Squeeze, ShearHorizontal, ShearVertical,
SwellHorizontal, SwellVertical, ZoomOut, ZoomIn, ZoomUpper, ZoomLower, Dither, RainbowUpper
and RainbowLower. You can also customize a shape by using the Dest
property in the Shape structure.
Combination
It's exciting that effects can combine with shapes, and even brushes, by doing so,
you can have more special watermark text. The following figures demonstrate three
combinations respectively:
(1) Arch lower text with Halo effect.
(2) Rainbow upper + Reflection.
(3) Rip bottom text + gradient color (orange->white) + shadow + text border
Overlapped Image
You can write overlapped images with CoolWatermark; yes, you can speicfy
angle, opacity, and position. For example, the following figure shows an overlapped
image with opacity 55 and an angle 35 degree.
[Back to Top]