Skip to content

Instantly share code, notes, and snippets.

@ebrehault
Created February 18, 2013 09:03
Show Gist options
  • Save ebrehault/4976059 to your computer and use it in GitHub Desktop.
Save ebrehault/4976059 to your computer and use it in GitHub Desktop.
phantomjs svg rendering
var page = require('webpage').create();
page.open('http://raphaeljs.com/github/dots.html', function () {
page.render('screen2.png');
phantom.exit();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment