How do you convert a System.Drawing.Bitmap image to any other type of image? I tried CType, which failed, since I do not know the type for .png or .jpg. I cannot find it anywhere on google either.
What is the most efficient method to do this, which keeps the quality of the image as high as possible?