tesseract.js icon indicating copy to clipboard operation
tesseract.js copied to clipboard

Fix loadImage when the type is Blob

Open diyews opened this issue 3 years ago • 0 comments

For Blob doesn't have a name property natively, it not set explicitly, it will throw an error Cannot read property 'endsWith' of undefined

So I am going to check the type of Blob, and this change is compatible if someone set name used old version.

diyews avatar Aug 21 '21 11:08 diyews

Thanks for flagging this. Closing as the problematic code was removed entirely in the latest version (v3).

Balearica avatar Sep 17 '22 21:09 Balearica