6

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.

Maddy
  • 4,525
  • 4
  • 33
  • 53
sadat
  • 4,004
  • 2
  • 29
  • 49

2 Answers2

16

Look at this Shapeshifter

Shapeshifter tool can import VectorDrawable XML file and export back to SVG file

Guru Surend
  • 201
  • 2
  • 4
6

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

ThanosFisherman
  • 5,626
  • 12
  • 38
  • 63