I am trying to convert image to byte array using only javascript and send to api. I have found this answer but it only shows to convert to base64 t
image
byte array