Convert html and svg to png using the Blink-based rendering engine inside Chromium.
usage: contentScreenshot.py [-h] [--content-shell CONTENTSHELL]
[--flags FLAGS] [--width WIDTH] [--height HEIGHT]
[--no-svg-mode NOSVGMODE]
input output
Convert example.html to a png image:
$ ./contentScreenshot.py example/example.html html.png --width=245 --height=300
ContentScreenshot can also be used as a modern svg->png converter. Lets convert octocat.svg:
$ ./contentScreenshot.py example/octocat.svg svg.png --width=200