Convert a byte array into an image.
July 16, 2010 - 10:13
The binary array "mybytearray" should contain your image data, then use the below code to convert this into an image usable by VB.Net.
Dim mybytearray As Byte() 'this should contain your data
Dim myimage as Image
Dim ms as System.IO.MemoryStream = New System.IO.MemoryStream(mybytearray)
myimage = System.Drawing.Image.FromStream(ms)