I am developing an app in asp.net in which I am implementing image upload control when user upload the image, it stores into localstorgae and in local storage it saves in the form of string and I want to convert it into the bytes array so I can send it to the controller through ajax post in javascript file so tell me how it is possible or how can I convert it into the bytes array.
Share
I assume you save the image as data url, which is base 64 encode. So you just need to send the string to the server and decode it with base 64.