Hi, i want to add a text to image like this
(and make curve text like pic 2)
aa.jpg (13.3 KB)
bb.jpg (34.7 KB)
anyone can help me, thanks!
sorry my English not good
Hi, i want to add a text to image like this
(and make curve text like pic 2)
aa.jpg (13.3 KB)
bb.jpg (34.7 KB)
anyone can help me, thanks!
sorry my English not good
You can add text watermark to any image. Please take a look at this output.jpg (10.0 KB) for instance. All you have to do is to follow this .NET or Java documentation guide (based on your development platform) or the following (.NET) code:
//C# code
using (Watermarker watermarker = new Watermarker(@"D:/aa.jpg"))
{
// Initialize the font to be used for watermark
Font font = new Font("Arial", 20, FontStyle.Bold);
// Create the watermark object
TextWatermark watermark = new TextWatermark("Watermark", font);
// Set watermark properties
watermark.ForegroundColor = Color.White;
watermark.BackgroundColor = Color.Transparent;
watermark.TextAlignment = TextAlignment.Justify;
watermark.VerticalAlignment = VerticalAlignment.Center;
watermark.X = 90;
watermark.Y = -180;
// Add watermark
watermarker.Add(watermark);
watermarker.Save(@"D:/output.jpg");
}
thank you so much!