Tips [ASP.NET] How to convert System.Byte[] to Image using c# August 16, 2016October 15, 2017 431 I was working on API project which was returning binary data and my goal was to convert bytes to image on the fly using asp.net/c# Here is the quick snippet to write bytes array as an image using HTTP Response.