browser-image-compression
browser-image-compression copied to clipboard
Argument 1 ('blob') to FileReader.readAsArrayBuffer must be an instance of Blob
Hi there,
I see this error poping randomly in my monitoring tool (sentry). Strange thing is that I haven't been able to reproduce it locally on my machine.
Here is the complete stack trace gathered from Sentry:
I know that the stack trace is not that useful since the code is minified, but at least we see that the error seems to pop-up from inside the getExifOrientation function.
Another useful information is that the error seems to be ocuring on every devices / browsers, so it's probably not platform specific:
I'll try to add some logging about the original "insanceof" the file passed to the compression layer to gather more data.
It might be related to #147
version: 2.0.0