How to Resize Image Using VB.NET

Easily Change Image Size with Professional .NET Imaging SDK
Do you want to find out how you can easily change the size of an image in a Visual Basic .NET image processing application? The article will answer that question perfectly by introducing you the amazing Yiigo .NET Image SDK, a reliable and mature image processing and editing control toolkit to help you resize image with simple Visual Basic .NET programming codes.
Visual Basic .NET Image Resizing Library Introduction

VB.NET Image Resizing SDK Overview

What is Visual Basic .NET image resizing library? As a matter of fact, image resizing is just one of the image manipulation functions of Yiigo.Image for .NET, which includes a number of DLL controls to help users add comprehensive image and document editing and processing capacities using Visual Basic .NET codings.
Why do you need to resize an image? Image resizing can be a very important functionality for Visual Basic .NET programmers and developers, not only because the size of an image is highly associated with the amount of space that it takes on your system, but also because it has great influence upon the speed when it is sent out. As a result, it is quite useful to add image resizing function to your Visual Basic .NET imaging application so you can freely enlarge your image to a proper size or reduce it for better space efficiency.
In addition, this Visual Basic .NET can be easily integrated into .NET Framework and can be deployed into a variety of VB.NET imaging projects, including Windows Forms and ASP.NET Web applications. All you need to do is simply integrate the library SDK and then start compiling Visual Basic .NET programming. Once integrated into your program, you can easily adjust image size by setting image width and height.
Do you need to view some other user manuals related to image processing in .NET application? We have listed a few more below, and you can freely click on corresponding page to learn more.
  • Visual C# Image Resizing: Easy to Adjust Image Size with Visual C# Programming Language
  • Visual Basic .NET Image Processing: Simple to Process Image in Various Ways with VB.NET Codings
  • Visual Basic .NET Image Scaling: Detailed Instructions for Scaling an Image in VB.NET Imaging Application
  • Visual Basic .NET Image Cropping: Complete Guide to Crop an Image with VB.NET Imaging Library

VB.NET Image Resizing SDK Features

  • Complete Visual Basic .NET sample codes provided for image resizing
  • Easy to import an image from local file and resize it by setting image width and height using Visual Basic .NET
  • Able to resize image in a wide range of image formats like PNG, JPEG, GIF, TIFF, BMP, etc
  • Enlarging or reducing image file size with Visual Basic .NET without effecting image quality
  • Provide rich options to control resized image properties like resolution, sharpness and so on
  • Also can save resized image to another file path with a file name defined by Visual Basic .NET programmers
  • Efficient image resizing with incredible performance and high speed
Image Resizing Visual Basic .NET Example
In this section, we will show you how to easily change the size of an image by compiling Visual Basic .NET codes in a .NET image processing application. To do this, of course you need to create a Visual Basic .NET imaging application in Microsoft Visual Studio first. Currently this VB.NET imaging library SDK supports MS Visual Studio 2005 and all later versions.
Then you should get a trial license. Inside the .NET Image SDK you will find an executable file, double click the file so an evaluation license will be created. You can copy the license and paste to your project bin folder.
Lastly you need to download Yiigo.Image for .NET and integrate related library. First, you need to unzip the package, and then copy the Yiigo.Image.dll to bin folder of your VB.NET imaging program. Later, please add it to your reference. Below is a complete VB.NET example for image resizing.
Imports Yiigo.Image 

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

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim directoryName As String = "c:/YGDemo.png"
Dim ygPic As YGPic = YGDoc.LoadDoc(directoryName)
ImageManipulating.ResizePic(ygPic, 280, 280)
YGDoc.PreserveDoc(ygPic, "c:/ygpicture.png", New PNGCreator())
End Sub
End Class
End Namespace
Imaging Solution
Yiigo.Image for .NET
Online VB.NET Tutorial
VB.NET: Yiigo.Image for .NETVB.NET: How to StartVB.NET: Doc Management SolutionVB.NET: Web Doc ViewerVB.NET: How to Deploy SDK
Doc & Image Formats
VB.NET: PDFVB.NET: TIFFVB.NET: WordVB.NET: DICOM
Advanced Functions
VB.NET: Image SDK ProgrammingVB.NET: Process Image
VB.NET: Resize Image
VB.NET: Crop ImageVB.NET: Rotate ImageVB.NET: Scale ImageVB.NET: Flip ImageVB.NET: Create ThumbnailVB.NET: Create WatermarkVB.NET: Annotate ImageVB.NET: Callout AnnotationVB.NET: Ellipse AnnotationVB.NET: Freehand AnnotationVB.NET: Hotspot AnnotationVB.NET: Line AnnotationVB.NET: Polygon AnnotationVB.NET: Rectangle AnnotationVB.NET: Rubber Stamp AnnotationVB.NET: Text AnnotationVB.NET: Convert ImageVB.NET: Image to Byte ArrayVB.NET: Image to StreamVB.NET: Word to ImageVB.NET: PDF to ImageVB.NET: Draw on ImageVB.NET: Draw Text on ImageVB.NET: Draw Graphics on ImageVB.NET: Barcode ReadingVB.NET: Barcode GeneratingVB.NET: Twain ScanningVB.NET: OCR Recognition