I have an image (in .png format), and I want this picture to convert to binary.
How can this be done using C#?
Try this:
Byte[] result = (Byte[])new ImageConverter().ConvertTo(yourImage, typeof(Byte[]));