Transform a DXF into a PNG
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.gitignore
README.md
index.js
package.json

README.md

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