exupero / saveSvgAsPng

Save SVGs as PNGs from the browser.
MIT License
1.09k stars 362 forks source link

This browser does not support object URLs. Falling back to string URL. #209

Closed SIRAAJ-UI closed 5 years ago

SIRAAJ-UI commented 5 years ago

When i try to load at chrome i am getting this warning message :This browser does not support object URLs. Falling back to string URL.

Testing from local host its working fine but not working from server.

exupero commented 5 years ago

Modify the code below to log the actual error that's being thrown from the try block.

https://github.com/exupero/saveSvgAsPng/blob/ccfd5bbf5f5dff9548047aa6d7c7651d0960d897/src/saveSvgAsPng.js#L356-L364

That will give some pointers about what's really going on.

ToccataN commented 5 years ago

Was able to resolve this issue by eliminating the requireDomNodePromise function that was recently added. (Feb 10th commit, modified the code locally to previous version).

exupero commented 5 years ago

Thanks. I've just published version 1.4.10 with a fix.