convert base64 to image c# and display in browser code example
Example: base64 to image c#
public static Image LoadBase64(string base64)
{
byte[] bytes = Convert.FromBase64String(base64);
Image image;
using (MemoryStream ms = new MemoryStream(bytes))
{
image = Image.FromStream(ms);
}
return image;
}