I know I am going backwards but please forgive me and assist if you can.
I have the following asp.net code that I would need your help converting to classic asp.
I am going backwards because I alread have a huge classic asp app and this bit is the new requirement that I am having problem with.
I need to convert base64 to image.
I found the code but unfortunately (for me), it is in .net.
Here it is and thanks a lot in advance for your assistance.
public Image Base64ToImage(string base64String)
// Convert Base64 String to byte
byte imageBytes = Convert.FromBase64String(base64String);
MemoryStream ms = new MemoryStream(imageBytes, 0,
// Convert byte to Image
ms.Write(imageBytes, 0, imageBytes.Length);
Image image = Image.FromStream(ms, true);
Public Function Base64ToImage(base64String As String) As Image
' Convert Base64 String to byte
Dim imageBytes As Byte() = Convert.FromBase64String(base64String)
Dim ms As New MemoryStream(imageBytes, 0, imageBytes.Length)
' Convert byte to Image
View Complete Post