yetzt / node-canvg

canvg as a node moule.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

canvg as a node moule.


Languages

Language:JavaScript 100.0%