public static Image ImageURIToImage(string url) { Image image = null; WebClient webClient = new WebClient(); try { MemoryStream ms = new MemoryStream(); Uri site = new Uri(url); Stream stream = webClient.OpenRead(url); image = Image.FromStream(stream); image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg); stream.Close(); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } return image; }