https://pt.stackoverflow.com/q/392424/101

CSharp · Console

/Program.cs

using System.IO;
using System.Drawing;

public class Program {
	public static void Main() {
        Image.FromStream(new MemoryStream(new byte[1024]));
	}
}
;