How to Load Images from VB.NET Files

Using .NET Image SDK to Load Images from Files in VB.NET Application
In this page, we are going to provide you with a detailed guide for loading an existing image from your local file using Visual Basic .NET programming language. Detailed instruction will be provided for using Yiigo .NET Image SDK and complete Visual Basic .NET sample codes for image loading from files in a VB.NET imaging project.
VB.NET Image Loading Library Overview
Loading an image from your local file into a Visual Basic (VB.NET) imaging application is easy with .NET Image SDK developed by Yiigo.com. This control library toolkit is designed to provide users with the most powerful and flexible processing functions for VB.NET program images & documents. With this library, you can easily load any existing image(s) from your local directory to a Visual Basic .NET application for all kinds of image processing performances.
Furthermore, this .NET imaging DLL library can be very useful for VB.NET imaging developers, because it can support loading a wide range of image formats which are being used almost every single day. Integrate this .NET imaging component into your VB program now, and you will find that you easily enabled to load GIF, JPEG (JPG), JBig2, PNG, TIFF, BMP (Bitmap), just to name a few.
Loading an image in your local file to a Visual Basic / VB.NET image processing application can be quite easy, since all you need is just several lines of VB.NET codings, which is necessary to specify the local file path, file name and then load & open the image file. You do not have to worry about this, as we have already provided you with a detailed example with the complete Visual Basic demo code to load a local image.
Should you be a Visual C# programmer, you can view this article on how to load an image from file in Visual C#. In addition, if your image is not stored locally, Yiigo also provide you with other user manuals for loading an image in Visual Basic .NET application. You can go to this page to learn how to load an image from .NET graphics. Or you can even load an image from your SQL Express database repository in a VB.NET document management solution.
VB.NET Example for Image Loading from File
When we talk about Visual Basic .NET image loading, we will probably think of batch images or pictures stored in your local disk / file, which can be loaded into a VB.NET application for further processing and editing. This image file loading requirement can be easily met with Yiigo .NET Image SDK, which has built-in supports for a variety of image formats:
  • Loading PNG (Portable Network Graphics) images from a local file
  • Loading JPEG (Joint Photographic Experts Group) images from a local file
  • Loading GIF (Graphics Interchange Format) images from a local file
  • Loading TIFF (Tagged Image File Format or Tag Image File Format) images from a local file
  • Loading BMP (Bit Map) images from a local file
  • Loading other images (like JBig2, DICOM, PSD, etc) from a local file
Before start compiling Visual Basic (VB.NET) codes for loading an image from local file, you should verify that you have installed .NET Framework and Microsoft Visual Studio. Currently .NET Framework 2.0 and later versions are supported. And the VB.NET imaging library is compatible with MS Visual Studio 2005, Visual Studio 2008, Visual Studio 2010 and 2012 versions.
The Visual Basic .NET example below covers the complete codes needed for loading an image in your local file to a VB.NET image editing application. Please feel free to make any change to the codings and then copy to your Visual Basic .NET application for an evaluation.
Imports System.IO
Imports System.Drawing.Printing
Imports Yiigo.Image;

Dim Image As New YGPic()
Image.LoadPicFromFile(@"C:\YGdemo.png")
Imaging Solution
Yiigo.Image for .NET
Online VB.NET Tutorial
VB.NET: Yiigo.Image for .NETVB.NET: How to StartVB.NET: Install Image SDKVB.NET: Activate SDK LicenseVB.NET: Open & Create ImageVB.NET: Create New Image
VB.NET: Load Image from File
VB.NET: Load Image from GraphicsVB.NET: Download Image from URLVB.NET: Create Image from StreamVB.NET: Save & Print ImageVB.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: Barcode ReadingVB.NET: Barcode GeneratingVB.NET: Twain ScanningVB.NET: OCR Recognition