ByteScout Watermarking SDK - VB.NET - Add Stamp Watermark to Image - ByteScout

ByteScout Watermarking SDK – VB.NET – Add Stamp Watermark to Image

  • Home
  • /
  • Articles
  • /
  • ByteScout Watermarking SDK – VB.NET – Add Stamp Watermark to Image

How to add stamp watermark to image for stamps in VB.NET and ByteScout Watermarking SDK

See how to add stamp watermark to image to have stamps in VB.NET

Today we will explain the steps and algorithm of how to add stamp watermark to image and how to make it work in your application. Stamps in VB.NET can be implemented with ByteScout Watermarking SDK. ByteScout Watermarking SDK is the software development kit that helps to quickly implement adding of watermarks on top of PNG, JPG, BMP images as well as on multipaged TIFF files. You may select ready to use presets or create your own preset with semitransparent logo images, text lines with adjustable font size, family, color, rotation.

VB.NET code snippet like this for ByteScout Watermarking SDK works best when you need to quickly implement stamps in your VB.NET application. Open your VB.NET project and simply copy & paste the code and then run your app! Enjoy writing a code with ready-to-use sample VB.NET codes to implement stamps using ByteScout Watermarking SDK.

Trial version of ByteScout is available for free download from our website. This and other source code samples for VB.NET and other programming languages are available.

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

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

Module1.vb
      
Imports Bytescout.Watermarking Module Module1 Sub Main() ' Create Watermarker instance Dim waterMarker As New Watermarker() ' Initialize library waterMarker.InitLibrary("demo", "demo") ' Set input file name Dim inputFilePath As String = "my_sample_image.jpg" For Each stampType As String In Presets.Stamp.PresetImages ' Set output file title Dim outputFilePath As String = "my_sample_output_" + stampType + ".jpg" ' Add image to apply watermarks to waterMarker.AddInputFile(inputFilePath, outputFilePath) ' Set output directory waterMarker.OutputOptions.OutputDirectory = "." ' Create new watermark Dim preset As New Presets.Stamp() ' Set stamp type preset.ImageFile = stampType ' Add watermark to watermarker waterMarker.AddWatermark(preset) ' Apply watermarks waterMarker.Execute() ' Clear all settings waterMarker.Clear() Next End Sub End Module

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