Reputation: 4342
Is there any tool to convert Vector Drawable to SVG? I lost my original svg file and now I would like to reduce the size of the image. Currently, I have,
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1200dp"
android:height="1200dp"
android:viewportHeight="1200"
android:viewportWidth="1200">
I would like to make it 180x180. Thanks in advance.
Upvotes: 8
Views: 16506
Reputation: 241
Look at this Shapeshifter
Shapeshifter tool can import VectorDrawable XML file and export back to SVG file
Upvotes: 20
Reputation: 5859
Have a look at this Convert VectorDrawable to SVG
The Vector Drawable format is pretty similar to SVG. With just a few modifications you can turn your xml drawable back to SVG
Credits to this guy who made this python script that coverts xml drawables back to SVG https://gitlab.com/Hyperion777/VectorDrawable2Svg
Upvotes: 7