canvg as a node moule.
Switch branches/tags
Nothing to show
Latest commit 4505e31 Oct 10, 2016 @yetzt committed on GitHub Merge pull request #14 from vote539/patch-1
Fix image filter bugs; prevent render of 'font' elements


A port of canvg, which pareses svg input and renders the result to a canvas.


var canvg = require("canvg");
var Canvas = require("canvas");

var canvas = new Canvas();

canvg(canvas, '<svg>...</svg>');

/* and so on */


The canvg code is pretty much untouched. A lot of browser-specific code has to be removed or rewritten.