- Create a MemoryStream passing the array in the constructor.
- Read the image from the stream using Image.FromStream.
- Call theImg.Save(“theimage.jpg”, ImageFormat.Jpeg).
Remember to reference System.Drawing.Imaging and use a using block for the stream.
Remember to reference System.Drawing.Imaging and use a using block for the stream.