Convert Bitmap to Another Image Format (VB.NET)

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Intermediate
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic.NET, ASP.NET

More information:
Converts a bitmap file to another format which you specify. The new file is saved in the same folder with the same file name, with the appropriate extension, e.g., C:\test.bmp is saved as C:\test.gif.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: