https://github.com/jaredrummler/vector2svg
Convert Android VectorDrawable XML resource file to SVG
https://github.com/jaredrummler/vector2svg
Last synced: over 1 year ago
JSON representation
Convert Android VectorDrawable XML resource file to SVG
- Host: GitHub
- URL: https://github.com/jaredrummler/vector2svg
- Owner: jaredrummler
- Created: 2015-10-11T09:09:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-25T01:11:59.000Z (over 9 years ago)
- Last Synced: 2025-03-24T11:08:04.990Z (over 1 year ago)
- Language: Java
- Size: 87.9 KB
- Stars: 68
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vector2svg
Convert [Android VectorDrawable](https://developer.android.com/reference/android/graphics/drawable/VectorDrawable.html) XML resource file to SVG
___
Download the [JAR](https://github.com/jaredrummler/vector2svg/blob/master/release/vector2svg-1.1.1.jar?raw=true)
Usage: java -jar [JAR] [FILES]
Each argument should be a path to a vector drawable. A new file will be created in the same directory as the vector drawable with a "svg" extension. This is useful because you cannot view a VectorDrawable with Adobe Illustrator or other similar software.
To convert an SVG to an Android VectorDrawable, use [this tool](http://inloop.github.io/svg2android/).
___
Example:
---
Original:
```xml
```
Output:
```xml
```
Now you can open the SVG in Adobe Illustrator or a similar program.