3 ms·
I generate the report as a normal HTML page and then render/export it using PhantomJS. Easiest solution I've found so far and I've done quite a bit of exploring
by thematt 12y ago
I generate the report as a normal HTML page and then render/export it using PhantomJS. Easiest solution I've found so far and I've done quite a bit of exploring.
https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js https://github.com/ariya/phantomjs/blob/master/examples/rast...