node-html-to-image
node-html-to-image copied to clipboard
A Node.js module that generates images from HTML
The parser / puppeteer crashes with an error: 'Uncaught Error: Parse error on line 25:' This might be malformed HTML, but I want to catch this error, to handle it...
I have used this plugin for HTML TO image. And it is working amazing but when we have more than 10 MB image in HTML then it is give me...
Hi, thanks for creating awesome package. I am not a node pro so trying to understand why below code is throwing: ERROR: not found error. I have taken following code...
After trying to find out why it's doing this I cannot figure it out. My HTML renders correctly in a browser however once I try using this library to convert...
What is your recommended settings to maximize performance in the following case: 1. Small HTMLs usually resulting jpeg images of 10K-50K in size 2. HTML content is 100% trusted 3....
After installing your package getting this issue in `npm run watch` and installed this package `npm install --save ws` but getting the same issue.
The font not loading my code js: let image = await nhti({ ... content: { font1: data:font/truetype;base64,${new Buffer.from(fs.readFileSync("Magmawave-Caps.ttf")).toString("base64")} }, ... }); html: @font-face { font-family: Magmawave; src: url({{font1}}) format('truetype'); }...
I was having some trouble with data url's in css. Turns out handlebars was escaping the last piece of my base64 data ass if it were html including a semicolon....
Since not all users will necessarily use templating, and those that do can simply pass the output from Handlebars (or potentially some other HTML template library that might better suit...