Dim lcEncoded As String = "" lcEncoded = Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(oApp.FileToStr("d:\Logo.jpg"))) oApp.CreateFile(System.Text.Encoding.Default.GetString(Convert.FromBase64String(lcEncoded)), "d:\Logo2.jpg")So, the source file is Logo.jpg. That is a 35kb file. If I take the encoded Base64 version of it and do the reverse process to obtain the original content that was used for the encoding, it gives 18kb. This is what is saved in Logo2.jpg. I would have assumed if would be the same as Logo.jpg, the original file, but it is not.