Hi,
I need help to convert varbinary code to image.
In order to achieve it i need help on the below steps.
- We need to convert to varbinary to base64
- Base 64 to image
- image to base 64
- base to varbinary
Need some help on this.
Hi,
I need help to convert varbinary code to image.
In order to achieve it i need help on the below steps.
Need some help on this.
Hey @Manikandasamy.
string filePath = "MyImage.jpg";
File.WriteAllBytes(filePath, Convert.FromBase64String(base64imageString))
byte[] imageArray = System.IO.File.ReadAllBytes(@"image file path");
string base64ImageRepresentation = Convert.ToBase64String(imageArray)
Thanks,
Sanjit
Hi, I achieved the point 2,3 . Need some examples to achieve point 1.