I am capturing images from a smart camera imager and receiving the byte array from the camera through socket programming (.NET application is the client, camera is the serve
Maybe the image is embedded in an OLE field and you have to consider the 88 bytes OLE header plus payload:
byteBlobData = (Byte[]) reader.GetValue(0); stream = new MemoryStream(byteBlobData, 88, byteBlobData.Length - 88); img = Image.FromStream(stream);