Giter Site home page Giter Site logo

potrace's Issues

Single path instead of multiple paths

Hello,
I am using Potrace on windows, to convert a simple bmp to SVG.
I obtain a SVG using multiple paths.
tare22

The image is just a simple text.
Using your potrace script, I get one single path instead of a different path for each letter.

Do you have any ideas on how I can make it so that I obtain a different individual path in the SVG instead of one path?

Thank you!

Feature request: potrace color option -C #rrggbb, --color #rrggbb

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 dark pictures with transparent backgrounds don't show up.

example

ps: great work, thanks and congratulations.

License

If you wouldn't mind weighing in on iwsfg/node-potrace#9 that would be appreciated :)

Basically want to ensure that you are fine with your port being licensed as "GPLv2 or later"

Line segment has 4 values

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!

About the load from URL block

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 retrieved from here. So the user copy the image itself instead of the image URL.

DEMO

A big thank you!

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.