ByteScout Watermarking SDK - C# - Add Logo and Text to Image - ByteScout

ByteScout Watermarking SDK – C# – Add Logo and Text to Image

  • Home
  • /
  • Articles
  • /
  • ByteScout Watermarking SDK – C# – Add Logo and Text to Image

How to add logo and text to image for logo image with text in C# with ByteScout Watermarking SDK

Step By Step Tutorial: how to add logo and text to image for logo image with text in C#

Sample source codes below will show you how to cope with a difficult task, for example, logo image with text in C#. ByteScout Watermarking SDK was made to help with logo image with text in C#. ByteScout Watermarking SDK is the powerful SDK can apply high quality visible and semivisible watermarks into PNG, JPG, BMP pictures and TIFF scans. Doznes of presets are available, multiple watermarks can be applied. Can add logo based watermark from image, can adjust font size, font family, colors.

C# code samples for C# developers help to speed up the application’s code writing when using ByteScout Watermarking SDK. Sample code in C# is all you need. Copy-paste it to your the code editor, then add a reference to ByteScout Watermarking SDK and you are ready to try it! Enjoy writing a code with ready-to-use sample C# codes to implement logo image with text using ByteScout Watermarking SDK.

Our website provides free trial version of ByteScout Watermarking SDK that includes source code samples to help with your C# project.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
using System; using System.Diagnostics; using System.Drawing; using System.Collections.Generic; using Bytescout.Watermarking; using Bytescout.Watermarking.Presets; namespace Sample { class Program { static void Main(string[] args) { // Create Watermarker instance Watermarker waterMarker = new Watermarker(); // Initialize library waterMarker.InitLibrary("demo", "demo"); // Set input file name string inputFilePath = "my_sample_image.jpg"; // Set output file title string outputFilePath = "my_sample_output.jpg"; // Add image to apply watermarks to waterMarker.AddInputFile(inputFilePath, outputFilePath); // Create new watermark LogoWithText preset = new LogoWithText(); // Select image file preset.ImageFile = "mylogo.png"; // Set text preset.Text = "Bytescout Watermarking"; // Add watermark to watermarker waterMarker.AddWatermark(preset); // Set output directory waterMarker.OutputOptions.OutputDirectory = "."; // Apply watermarks waterMarker.Execute(); // open generated image file in default image viewer installed in Windows Process.Start(outputFilePath); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Watermarking SDK Home Page

Explore ByteScout Watermarking SDK Documentation

Explore Samples

Sign Up for ByteScout Watermarking SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Watermarking SDK Home Page

Explore ByteScout Watermarking SDK Documentation

Explore Samples

Sign Up for ByteScout Watermarking SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next