Closed Bill-Niz closed 8 years ago
It seems like some of the variables used in line 105 is generating the problem, you should check out the values for:
BTW, is this happening with a particular image only?
After further investigation, it seems that when i compress 70% or less var data = cvs.toDataURL(type); gives data = "data:,"
Can you build a scenario (plunkr maybe?) to reproduce this issue? I'm able to compress at any % without any issues...
Closing this since it has been inactive for a long time.
Hi ,when i try to upload my image i've got this error :
InvalidCharacterError: String contains an invalid character JIC.js:105
in atob(data)
Thks