#1645
Donna Klinton
Participant

Hi there
That exactly what i want to do.I am trying to create watermark for only one image using this code which i have googled:
//Create an instance of Image and load an existing image
using (Image image= Image.LoadImageFromFile(@”C:\1.bmp”));
{
Graphics graphics = new Graphics(image);
RasterEdgeImaging.Font font = new RasterEdgeImaging.Font(“Times New Roman”, 16, FontStyle.Bold);
RasterEdgeImaging.Brushes.SolidBrush brush=new RasterEdgeImaging.Brushes.SolidBrush();
brush.Color=Color.Black;
brush.Opacity=100;
image.Create Watermark (“watermark”, font, brush, new PointF(image.Width/2, image.Height/2));
image.Save(@”C:\1-watermark.bmp”);
}
But it can not work effectively.What’s wrong with my code?I want to know that if there is any image program which supports to processing image watermark and thumbnail image directly?
Thanks for any suggestions.