The coding tutorials are designed to help you test the features without need to write your own code. ByteScout Watermarking SDK was made to help with resize image in percents in VB.NET. 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.
VB.NET code snippet like this for ByteScout Watermarking SDK works best when you need to quickly implement resize image in percents in your VB.NET application. VB.NET sample code is all you need: copy and paste the code to your VB.NET application’s code editor, add a reference to ByteScout Watermarking SDK (if you haven’t added yet) and you are ready to go! Enhanced documentation and tutorials are available along with installed ByteScout Watermarking SDK if you’d like to dive deeper into the topic and the details of the API.
Trial version can be obtained from our website for free. It includes this and other source code samples for VB.NET.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System
Imports System.Diagnostics
Imports System.Drawing
Imports System.Collections.Generic
Imports Bytescout.Watermarking
Imports Bytescout.Watermarking.Presets
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"
' Set output file title
Dim outputFilePath As String = "my_sample_output.jpg"
' Add image to apply watermarks to
waterMarker.AddInputFile(inputFilePath, outputFilePath)
' Allow resize
waterMarker.OutputOptions.Resize = True
' Set resize type to percentage
waterMarker.OutputOptions.ResizeType = ResizeType.Percentage
' Reduce image by 1/2
waterMarker.OutputOptions.ResizePercentage = 50
' Set output directory
waterMarker.OutputOptions.OutputDirectory = "."
' Apply watermarks
waterMarker.Execute()
' open generated image file in default image viewer installed in Windows
Process.Start(outputFilePath)
End Sub
End Module
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
Sorry! This product is not available.
Please click here to visit main page for the list of all available products and solutions.
Product Links: