Get unlimited public & private packages + team-based management with npm Teams.Learn more »

node-dxf-to-png

0.0.3 • Public • Published

node-dxf-to-png

DXF to PNG node module and command line tool.

usage

dxftopng(__dirname+'/data/test.dxf', {width: 300, usemapping: true}, function (err, pngbuff) {
    // do something with the buffer
});

mapping uses the node-dxf text mapping algorithm for text elements.

$ node-dxf-to-png -i test/data/test.dxf -w 400 -m true -o mydxfas.png

Install

npm i node-dxf-to-png

DownloadsWeekly Downloads

2

Version

0.0.3

License

BSD

Last publish

Collaborators

  • avatar