I am trying to convert a byte[] to Bitmap in c#. Following is the code:
byte[]
Bitmap
MemoryStream ms = new MemoryStream(b); Bitmap bmp = new Bit
Try resetting current location in the stream
MemoryStream ms = new MemoryStream(b); ms.Seek(0, SeekOrigin.Begin); Bitmap bmp = new Bitmap(ms);