Visual VB.NET: Convert Document & Images
How to convert document image using VB.NET
Yiigo provides .NET Document and Image Conversion support included in Yiigo.Image for .NET, which can be easily added to your document imaging applications with fully-automated, dynamic, and feature-packed Document and Image Conversion functionalities. Find more document & image conversion information on Yiigo.Imaging for .NET Conversion Support.
Yiigo.Image for .NET Conversion SDK has those following functionalities:
- Detect the document and image formats
- Support blank/white image, grayscale and color images conversion
- Convert certain range of pages
- Convert in memory for higher speeds
- Detect and convert color space, pixel depth
- Batch conversion support
Document Image Conversion with VB.NET Sample Code Requirements
Before using Yiigo.Image for .NET Conversion SDK in VB.NET, make sure that you have installed.
- Windows OS: Windows 7, Windows Vista, and Windows XP, etc
- Windows Server 2003, Windows Server 2008
- .NET Framework 2.0, 3.0, 4.0
- Microsoft Visual Studio 2005, 2008, 2010
- Yiigo.Image for .NET setup
Start to Convert
- Start your Microsoft Visual Studio;
- Choose "Project" in "File-New" from the menu;
- In "New Project" dialog box, choose "Visual Basic Projects";
- Choose "Windows Application" in the "Templates" List and name it "YiigoImagingConversionVBNET";
- In the "Solution Explorer" window from the context menu, right-click on the "References" folder, and select "Add Reference...";
- In the "Add Reference" dialog box, select the ".NET" tab and browse to Yiigo.Imaging.Net.dll library;
- Add it to your VB.NET applications;
- Import Yiigo .NET Image Namespace & copy those following codes:
Imports System.IO Imports System.Drawing.Printing Imports Yiigo.Imaging Imports Yiigo.Imaging.Processing Imports Yiigo.Imaging.Conversion
' Write conversion function to document image applications Private Sub Conversion(inFile As String, outFile As String, encoder As ImageEncoder) Using src As ImageSource = New FileSystemImageSource(inFile, True) Using s As Stream = File.OpenWrite(outFile) encoder.Save(s, src, Nothing) End Using End Using End Sub
' Convert file formats, for example Conversion(1.png, 1.gif, New GIFEncoder())
' Batch Conversion, for example BatchConversion(1.png, 1.gif, New GIFBatchEncoder()) BatchConversion(2.png, 2.gif, New GIFBatchEncoder()) BatchConversion(3.png, 3.gif, New GIFBatchEncoder()) BatchConversion(4.png, 4.gif, New GIFBatchEncoder()) |
Products Overview Tech Specs Features Other Plugins Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner
|