Convert Byte Array To Image in C#
This example shows how to convert a byte array into an image.
Sample Code:
public Image ByteArrayToImage(byte[] data) { MemoryStream ms = new MemoryStream(data); Image returnImage = Image.FromStream(ms); return returnImage; }
See Also:
Convert Image To Byte Array