I have a blob image in the client side (javascript) and i want to convert it to base64 string. Then, pass it to code behind (C#).
I used the following code for converting the blob to base64 string:
 var reader = new FileReader();
                reader.onload = function (event) {
                    createImage(event.target.result); //event.target.results contains the base64 code to create the image.
                };
                reader.readAsDataURL(blob);//Convert the blob from clipboard to base64
I tried to display the reader object to see how my base64 string looks like. I have got this [object FileReader].
I want to extract the base 64 string from it, how to do so??
 
    