Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Imaging - Image Compressing Using VB.NET

VB.NET Codes for Compressing & Decompressing Image Files in .NET Imaging SDK

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

If you are looking for a VB.NET image compressing and decompressing control library that can save a large space on disk for image even without changing the image dimensions, then we strongly recommend our .NET Document Image Compressing and Decompressing toolkit to you, which can be highly integrated within variable VB.NET applications, including VB.NET Windows Forms, VB ASP.NET web and VB.NET console & class.
RasterEdge is committed to supporting and developing toolkit that can utilize the most advanced image compression & decompression methods available. With our VB.NET image compression & decompression library, users are able to encode & decode all the supported document and image files in a few lines of VB code:
Please look at following article layout for quick overview of image compressing and decompressing in VB.NET class:
  • VB.NET Image Compressing and Decompressing SDK - features and technique requirements
  • VB.NET image encoding and decoding Windows application creation notices
  • Fully managed image compressing API solution and sample code within VB.NET component
  • Stable and flexible image decompressing method and complete demo code in VB.NET
  • More document compression and decompression applications in VB.NET platform
VB.NET Image Compressing SDK - Features and Techs
  • Image compression and decompression are available in .NET Framework 2.0, 3.0, 3.5 or later versions
  • Image encoding and decoding technology is ready for both 32-bit and 64-bit Windows VB.NET platforms
  • Free to create single or multi-threaded VB.NET application for image compressing and decompressing
  • Bitonal, color and grayscale image data are supported by VB.NET Imaging Compressing and Decompressing toolkit
  • Image compression and decompression can be processed easily and rapidly without invoking any irrelevant application
  • Able to save the compressed image to memory, in order to reduce system requirements and increase potential customer base
  • Once purchased, we will grant you perpetual image compressing runtime royalty free developer license
Create Image Compression & Decompression Project in VB
This part is about to display a few notices when users are going to create image compression and decompression application within VB.NET programming language.
  • Our image compressing testing environments are Visual Studio 2005 and .NET Framework 2.0, and all their greater versions are supported
  • Before you can directly apply the sample method and demo code shown in this page to your created VB.NET Windows project, you need to activate your developer license at first
  • Native 32 and 64 bit binaries are available for image compression and decompression
Image Compression and Decompression VB.NET
In order to save memory usage, users often need to reduce irrelevance and redundancy of the image data. With RasterEdge .NET Image Compressing and Decompressing SDK library, users are supposed to add variable image compression algorithms and technologies in any VB.NET application.

Image Compression Method in VB.NET

Use following method to compress image in any format.
Private Sub ImageCompression(inFile As String, outFile As String, encoder As ImageEncoder)
End Sub

VB.NET Example Code for Image Compression

Here is an example for compressing images using above method in VB.NET application.
Imports System.IO
Imports System.Drawing.Printing
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Codec.Compression

Dim Image As New RasterEdgeImaging()

Private Sub ImageCompression()
If True Then
ImageCompression.infile("C:\1.tif")
ImageCompression.Outfile("C:\2.tif")
ImageEncoder = ImageEncoder.Group3Encoding
End If
End Sub
Image.ImageCompression(@"C:\1.tif", "C:\2.tif", ImageEncoder ImageEncoder.Group3Encoding)
Private Sub ImageDecompression(inFile As String, outFile As String, Decoder As ImageDecoder)
End Sub

Image Decompression Method Within VB.NET

Even contrary to image compression, VB.NET image decompression is also easy to be realized with following reliable API solution.
Private Sub ImageDecompression(inFile As String, outFile As String, Decoder As ImageDecoder)
End Sub

VB.NET Sample Code on Image Decompression

Please refer to following pieces of VB.NET demo code on image decompression.
Imports System.IO
Imports System.Drawing.Printing
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Codec.Decompression

Dim Image As New RasterEdgeImaging()

Private Sub ImageDecompression()
If True Then
ImageDecompression.infile("C:\1.tif")
ImageDecompression.Outfile("C:\2.tif")
ImageDecoder = ImageDecoder.Group3Decoding
End If
End Sub
Image.ImageDecompression(@"C:\1.tif", "C:\2.tif", ImageDecoder ImageDecoder.Group3Decoding)
More Image Compression Functions in VB.NET
Except for image compression and decompression, our perfect and comprehensive Document Image Compressing and Decompressing SDK control still can be used to:
More Tutorials!
Find more user guides with RasteEdge .NET Image SDK using VB.NET sample codings!


Recommend this to Google+