Skip to content

ShareIt-project/node-canvg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%