How to convert image to bytes?

calculus67

Member
Joined
Oct 31, 2016
Messages
9
Programming Experience
1-3
unnamed.png

How can I do that .For example test.jpg--------->1212123903498058908939609085690463060000959549... like this
 
If you had done any research at all then you'd have found that you can read any file into a byte array by calling the File.ReadAllBytes method exactly how that series of digits corresponds to a byte array though, I don't know. Perhaps it's just each byte written as a three-digit number. Just like any object, you can convert a number, be it byte or otherwise, by calling its ToString method.
 
Back
Top Bottom