Skip to content
canvg as a node moule.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

node-canvg

A port of canvg, which pareses svg input and renders the result to a canvas. http://code.google.com/p/canvg/

Usage

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

var canvas = new Canvas();

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

/* and so on */

Todo

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

Something went wrong with that request. Please try again.