Help with image moo - remove watermark sections |
[eluser]trinic[/eluser]
I would like to remove the sections for the watermarks and make the watermark extend from the left side of my image to the right side. I'm not sure how to say this but I want to remove the "number keypad" type of sections and just use the width/height of the image for my watermark boundries.
[eluser]hebe_210[/eluser]
To remove or add watermark, take the add as an example ,my codes: using System.IO; using System.Drawing.Printing; using RasterEdge.Imaging; using RasterEdge.Imaging.Processing; RasterEdgeImaging Image = new RasterEdgeImaging(); //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.CreateWatermark("watermark", font, brush, new PointF(image.Width/2, image.Height/2)); image.Save(@"C:\1-watermark.bmp"); } More tutorails here. |
Welcome Guest, Not a member yet? Register Sign In |