devendroid / VectorChildFinder

VectorChildFinder helps to find inner elements of vector drawable like path and group.
Apache License 2.0
202 stars 41 forks source link

Any way to read a SVG file directly instead of xml file? #16

Open FahadSaleem opened 3 years ago

FahadSaleem commented 3 years ago

I am getting a bunch of SVG files directly from API and I have no idea how to convert them to XML. Could this library read the SVG directly?

devendroid commented 3 years ago

Now the VCF does not support SVG format directly.

So first you will need to convert your SVG into vector drawables either programmatically or any external tool as per your requirement,

eg:- Using Tool and using Programmatically

Hope this will help you.