Guide for VB.NET
Core Document Formats
Additional Features
Image Scaling

VB.NET Imaging - Scale Image Using VB.NET

VB.NET Image Scaling SDK to Resize Image Proportionally

VB.NET
Home > .NET Imaging SDK > VB.NET > Scale Image
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

VB.NET Application for Image Scaling
If you are looking for a way to resize image proportionally, please try this VB.NET image scaling library control. Using this VB.NET image scaling control SDK, developers can adjust the image size without changing the ratio between image width & height. c# itextsharp add text to existing pdf, add image to pdf using itextsharp vb.net, c# pdf split merge, c# get thumbnail of pdf, vb.net pdf generator, c# combine tiff files into one. To put it in another way, this VB.NET image scaling control toolkit allows developers to zoom in or zoom out source image file in a programming way.
Related .net document control helps:
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net annotate pdf: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
Now, please have a look at the article layout of this VB.NET image scaling tutorial page.
  • Main function list of this VB.NET image scaling control add-on
  • Introduction on VB.NET dlls that are used to scale image file
  • VB.NET method to scale image file in .NET Framework application
  • VB.NET sample code for how to scale image / picture
  • Frequently asked questions about RasterEdge VB.NET image scaling control SDK add-on
open source pdf creator c#, convert powerpoint to pdf c# interop, tesseract ocr pdf to text c#, c# convert tiff to pdf free library, read pdf metadata c#, c# pdf bookmark, convert html to pdf using itextsharp vb.net.
VB.NET Image Scaling Library SDK Features
  • Easy to use VB.NET image scaling library with flexible and royalty-free developer licenses
  • Allow VB.NET programmers to enlarge & shrink source image file while maintain original image width to height ratio
  • Scaled image will be saved as new file whose name and storing folder are completely self-defined in VB.NET imaging application
  • Written in 100% managed C# code and compatible with both ASP.NET web and Windows Forms applications
VB.NET DLLs to Scale Image / Picture
There are two dlls that will be involved in the process of VB.NET image scaling, which are RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.Processing.dll. In this section, we briefly introduce you the main functions of these two image scaling SDK dlls.
RasterEdge.Imaging.Basic.dll contains several image decoding and encoding APIs. Thus, it can be used to open image file that is stored in PC hard disks, camera flash drives or web servers. RasterEdge.Imaging.Processing.dll owns rich image processing APIs, like the API to rotate image using VB.NET, the API to sharpen image in VB.NET, the API to flip image by VB.NET code and the API to crop image in VB.NET.
As this VB.NET image scaling control SDK compacts all advanced image scaling functions into these two small-size libraries, developers can integrate this mature image scaling feature into VB.NET imaging application by adding reference directly.
VB.NET Method to Scale Source Image
Here we demonstrate you the method that this VB.NET image scaling control SDK has used to scale image file. As is shown in following VB.NET image scaling method, developers can successfully scale source image by defining the ratio between desired image size and original image size.
Public Shared Function ApplyResize(img As REImage, ratio As Single) As Integer
End Function
VB.NET Sample Code for Image Scaling
To help you know more about this VB.NET image scaling control add-on, we here especially demonstrate you a VB.NET sample code, which you can use for image scaling instantly after you install RasterEdge VB.NET image scaling control SDK and activate the evaluation license key.
After you run following VB.NET code demo, you will get a scaled image file whose height & width are all half of original image width & height.
Imports RasterEdge.Imaging.Basic
Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Basic.Codec

Namespace RE__Test
Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

ImageProcessing.ApplyResize(reImage, 0.5F)

REFile.SaveImageFile(reImage, "c:/reimage.png", New PNGEncoder())
End Sub
End Class
End Namespace
Besides, if you want to know how to scale source image file in Visual C# .NET class application, please follow this link to C#.NET image scaling tutorial where you can also find detailed C#.NET programming guide.
VB.NET Image Scaling Control SDK FAQs
Q 1: Does this VB.NET image scaling control SDK allow developers to build a VB.NET imaging application for batch image scaling?
A 1: Using this VB.NET image scaling control SDK API, developer can only scale one image / picture / photo at a time in .NET class application.

Q 2: How many image types are supported by this VB.NET image scaling control toolkit?
A 2: This VB.NET image scaling control toolkit is able to scale most common image file formats, like png, jpeg, gif, bmp and tiff.
More Tutorials!
RasteEdge.com also provides developers with more VB tutorial for using .NET Image SDK.


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2023 Raster Edge.com