Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to extract paths from SVG files? #2

Open
Tonku opened this issue Aug 7, 2020 · 3 comments
Open

How to extract paths from SVG files? #2

Tonku opened this issue Aug 7, 2020 · 3 comments

Comments

@Tonku
Copy link

Tonku commented Aug 7, 2020

How can I extract paths from svg files ? can I extract path and color for that path using some tools?

@masterashu
Copy link
Owner

You can use an XML Parser to retrieve all the <path d="..actualpath...">.

@masterashu
Copy link
Owner

You can use regexr to extract with the following regular expression: \<\s*path.*d="(.*)".*\>

@omidraha
Copy link

Another way:

  1. Install Inkscape, and then from Menu: Edit, XML Editor ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants