I want to read in an image data and send the source of the image so the server. I was using a FileReader that creates a Base64-String. As the String can become very, I want to send the image source as binary data, how can I do it?
currently done via base64:
var reader = new FileReader();
reader.readAsDataURL( file );
reader.onloadend = function(){
var source = this.result; //i need to send this to the server
}