when i use below code to convert image1.ImageUrl into binary it will work fine.
- MemoryStream ms = new MemoryStream();
- byte[] imgtobinary = new byte[ms.Length];
- ms.Position = 0;
- ms.Read(imgtobinary, 0, (int)ms.Length);
- ms.Read(imgtobinary, 0, imgtobinary.Length);
what should i do for this ?
i want to convert image into binary which is captured and display on image control by webcam.


Bhavesh VankarPosted Mar 19, 2021, 6:01 AM