System.IO.File.WriteAllBytes("C:\Text.jpg"); //Replace your Filepath
byte
System.Drawing.Image.FromStream
byte[] imageData = //...; //... using (System.IO.MemoryStream stream = new System.IO.MemoryStream(imageData)) { System.Drawing.Image image = new System.Drawing.Image.FromStream(stream); } // stream dispose is called here implicitly
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)