-
Notifications
You must be signed in to change notification settings - Fork 111
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
[Question] Is that possible to run dom-to-image on NodeJS? #48
Comments
You need |
Yes, I'm already using a headless browser, but it is pretty slow, so I was trying to find a better alternative. Thank you. |
Crazy idea - just use https://github.com/jsdom/jsdom |
I tried, but it didn't work. It gets an error related to canvas even after use node-canvas. 😞 |
There was a perf-hitting extreme CSS optimisation added in #37 for SVGs.
There's plans to bring it back in #92 as a much quicker post-processing op. |
Curious to know if it works with node + jsdom |
Revisiting here in 2024... |
Same here 😭 |
Hi folks,
Just a quick question. Is that possible to run dom-to-image on NodeJS?
The text was updated successfully, but these errors were encountered: