Can anybody suggest how I can convert an image to a byte array and vice versa?
I\'m developing a WPF application and using a stream reader.
Code:
using System.IO; byte[] img = File.ReadAllBytes(openFileDialog1.FileName);