hey i have this simple piece of code to read image from input file in a form:
var reader = new FileReader();
reader.onload = fileOnload;
reader.readAsDataURL(file);
then i send the file binary via ajax, but when it comes an image and i save it the image quality is little bit lost, is there any way to specify in html5 quality of the image while reading that ?
Or it's only a server side problem?