Dim myImage As Bitmap = DirectCast(Image.FromFile("D:\Temp\MyPic.jpg"), Bitmap) myImage.Save("D:\Temp\MyPicSaved.png", ImageFormat.Png)
Dim SourceImg As Image SourceImg = Image.FromFile(SourceFilePath) SourceImg.Save(DesFilepath, Imaging.ImageFormat.Png)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)