-
Notifications
You must be signed in to change notification settings - Fork 218
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
img in drawHTML not working in Chrome #61
Comments
Thanks for reporting. This is an issue with the library and I am guessing that it's a dependency versioning issue. I'll investigate. Can you for now install the 0.8.0 version?
And then just use |
v0.8.0 is indeed working. Thank you for your reply and good luck with the investigation.... |
The dependency |
I can confirm it's working indeed. |
👍 |
Hi,
Your example code with the image isn't working in Chrome, but is working in FF.
The code i'm talking about:
rasterizeHTML.drawHTML('<div style="font-size: 20px;">' + 'Some <span style="color: green">HTML</span>' + ' with an image <img src="someimg.png">' + '</div>', canvas);
Will generate the following error in Chrome:
Uncaught TypeError: Parameter 'url' must be a string, not undefined
Please, how can i fix this? I've already added the attribute URL to the image, but that didn't work either...
The text was updated successfully, but these errors were encountered: