potrace icon indicating copy to clipboard operation
potrace copied to clipboard

A javascript port of Potrace

Results 7 potrace issues
Sort by recently updated
recently updated
newest added

Thanks for your code, I am using it in github.com/openhardwarecoza/LaserWeb3 to convert bitmaps to vectors for laser cutting (: I'll add some credits to the Wiki ![trace](https://cloud.githubusercontent.com/assets/7695323/16920694/f2f54d86-4d0e-11e6-976d-c4e1b29bdd7b.PNG)

I've implemented a function, `loadImageFromCanvas`, that can be used instead of `loadImageFromFile` and `loadImageFromUrl`. This function has one argument, `canvas`. When using this function the library can be used synchronously.

If you wouldn't mind weighing in on https://github.com/Iwasawafag/node-potrace/pull/9 that would be appreciated :) Basically want to ensure that you are fine with your port being licensed as "GPLv2 or later"

this potrace option would be useful in the cases when we have a black image on transparent background because the current javascript version transforms the alpha channel in black so...

Since 'load from external URL' is blocked due to cross-origin policy, this feature could be substituted for 'load from clipboard', as shown in [this example](http://jsfiddle.net/bt7BU/225/) retrieved from [here](http://stackoverflow.com/a/15369753/5875416). So the...

The L segment in the path string gets 4 values, while only the first 2 get used in drawing the vector. You could consider leaving the last two out!

Hello, I am using Potrace on windows, to convert a simple bmp to SVG. I obtain a SVG using multiple paths. ![tare22](https://github.com/kilobtye/potrace/assets/10354136/dc1e955a-b5f1-4fff-bb7d-84aeaba92e7f) The image is just a simple text. Using...