I have a byte[] that is represented by an Image. I am downloading this Image via a WebClient. When the WebClient
byte[]
Image
WebClient
In .Net framework 4.0
using System.Drawing; using System.Web; private Image GetImageFile(HttpPostedFileBase postedFile) { if (postedFile == null) return null; return Image.FromStream(postedFile.InputStream); }