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
Pingback: Convert Image To Byte Array in C# - C# Examples
I want to convert a byte type value to image and save it as a file, can you help me?
If you want to save the image, you can use image.Save() method.