Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 11 + Object doesn't support property or method 'toBlob' #172

Closed
bakaibalazs opened this issue Apr 19, 2017 · 6 comments
Closed

IE 11 + Object doesn't support property or method 'toBlob' #172

bakaibalazs opened this issue Apr 19, 2017 · 6 comments

Comments

@bakaibalazs
Copy link

I would like to use cropper.js latest edition with IE11, but I got the following error at this command: cropper.getCroppedCanvas({width: 600,height: 800}).toBlob(function (blob) {....}

error message:Object doesn't support property or method 'toBlob'

@fengyuanchen
Copy link
Owner

Read the browser compatibility of toBlob please.

@Esger
Copy link

Esger commented Jun 20, 2017

Adding this https://github.com/eligrey/canvas-toBlob.js/blob/master/canvas-toBlob.js to the project solves the problem with msToBlob() for us.

@maxiz22
Copy link

maxiz22 commented Jul 17, 2018

thanks @Esger , it's work for me

@Sakthi002
Copy link

where i have to add this file

@Sakthi002
Copy link

i installed canvas-toBlob using npm, but still i am getting the same error

@rocker18
Copy link

Adding this https://github.com/eligrey/canvas-toBlob.js/blob/master/canvas-toBlob.js to the project solves the problem with msToBlob() for us.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants