Load an image into a byte-array with C#
This pretty simply snippet exports your Image into a byte-array. 1public static byte[] ToByteArray(this System.Drawing.Image image) 2{ 3 using(MemoryStream memoryStream = new MemoryStream()) 4 { 5 …
Blogbeitrag lesen






