Hi
Im trying to display image binary data but its not working.
I have the code below but on the line:
newimage = System.Drawing.Image.FromStream(ms)
i keep getting the error 'Parameter is not valid'
Dim obj As Byte()
obj = StringToByteArray(ImageString)
Dim ms As New MemoryStream(obj)
Dim newimage As System.Drawing.Image
newimage = System.Drawing.Image.FromStream(ms)
Response.ContentType = "image/jpeg"
newimage.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)