Convert image file formats in C# and VB.NET
The GemBox.Imaging .NET library enables you to convert to and from the following image formats, in C# and VB.NET:
PNG
JPEG
GIF
TIFF
The following example shows how to convert a JPG image to a PNG image:
using GemBox.Imaging;
// If using the Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");
// Load the input image and save it to a selected image file format.
using (var image = Image.Load("FragonardReader.jpg"))
image.Save("Converting.jpg");Imports GemBox.Imaging
Module Program
Sub Main()
' If using the Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY")
' Load the input image and save it to a selected image file format.
Using image As Image = Image.Load("FragonardReader.jpg")
image.Save("Converting.jpg")
End Using
End Sub
End ModuleOutput

The library currently supports the following image formats: JPEG, PNG, GIF, and TIFF. If you need support for other image formats, please create a request on our feedback page or contact support.
