This project is read-only.

add watermark

Jun 21, 2007 at 11:17 PM
I think that a function to add a watermark realtime on images (at least the big ones) should be very useful.
maybe right now a simple text should be ok. later the developer can choose from own images.

Lenny
Jun 23, 2007 at 1:21 AM
Thanks for the suggestion. I created Add watermark to keep track of it where I give some reasons why I would rather pass on that feature.
Sep 8, 2007 at 11:12 PM
I wrote a piece of code to implement a very simple watermark to the images (not the thumbnails)

just add it to the album.ashx code about at line 460, just before " g.dispose(); "

if (! thumbnail)
{
//add watermark
StringFormat format = new StringFormat();
format.Alignment = StringAlignment.Far;
format.LineAlignment = StringAlignment.Far;
// draw string
g.DrawString("Lenny76 (c)",
new Font("Verdana", 15, FontStyle.Bold),
Brushes.Orange,
new Rectangle(10, 10, width - 10, height - 10), format);
}

hope this is helpful to someone

Lenny76