C# Examples

Best site for developers

  • Home
  • About C#
    • C# Interview Questions and Answers
    • Learn C#
  • ALL POSTS
  • Bootstrap Examples
  • CONTACT

Tag Archives: convert byte array

02 Eyl

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

turgay Posted in C# .NET, Winform Controls byte array to image, C#, convert byte array, convert byte array to image 3 Comments

Post navigation

Kategoriler

Son Yazılar

  • C# Binary Search Tree Implementation
  • Select,Insert,Update,Delete Data in Access File using C#
  • C# Collections Tutorial
  • C# ArrayList Example
  • C# Stack Example
E-Katip.Net - https://e-katip.net
↑