4 ms·
How do you do PNG renderings? Printers have atight template/format requirements.
by JoeAltmaier 12y ago
How do you do PNG renderings? Printers have atight template/format requirements.
- bduerst 12y agoI've tried using webkit2png, but was never able to get it to render right: https://github.com/AdamN/python-webkit2png https://github.com/AdamN/python-webkit2png
- troels 12y agoYeah, this. Or phantom.js is nice too. Or just use a plugin for your browser, that does a screen dump of the full page. Also, I then do some afterprocessing in imagemagick.
- lelandbatey 12y agoWhen I must render a webpage to PNG, I use Phantomjs and a rasterize.js script. I've been very pleased with it, even when generating very large images (10,000px squared or more).