node-potrace
node-potrace copied to clipboard
JavaScript port of Potrace, for NodeJS
Not flat
I have an image with 2 polygons. When I run potrace, it serves a unique path with a `M` for breaking the 2 paths. I'd need actually 2 paths. native...
var bitmap = new Bitmap(image.bitmap.width, image.bitmap.height); ^ TypeError: Cannot read properties of undefined (reading 'bitmap') help
Posterizer.STEPS_AUTO = -1; It appears that the default value should be 1 and not -1. The validation in `setParameters` is looking for a number between 1 and 255. `if (params.steps...
Hi, would you mind update the license to GPLv3 or or license it as "GPLv2 **or any later version**"? In our frontend project it's basically the only library which comes...
To make things simple if you decide to change the license as per my request #7 I prepared this PR.
Hey. When I first started to look into the license issue I thought npm still has the version from https://github.com/tooolbox/node-potrace because the link was pointing there and I saw this...
Change in supported Node versions was probably a breaking change though and Major version number should have been bumped instead of patch number in 2.1.2. Oops. Hopefully nobody's using Node...
que tipo de var e essa var _ = require('lodash'), assert = require('assert'), should = require('should'), sinon = require('sinon');