All Projects → RohanTalip → VectorDrawable2Svg

RohanTalip / VectorDrawable2Svg

Licence: MIT license
Converts Android VectorDrawable .xml files to .svg files

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to VectorDrawable2Svg

Xmlunit
XMLUnit for Java 2.x
Stars: ✭ 232 (+364%)
Mutual labels:  xml
Minify
Go minifiers for web formats
Stars: ✭ 2,824 (+5548%)
Mutual labels:  xml
Meeseeks
An Elixir library for parsing and extracting data from HTML and XML with CSS or XPath selectors.
Stars: ✭ 252 (+404%)
Mutual labels:  xml
Il Ilce Mahalle Sokak Cadde Sql
Türkiye İl, İlçe, Mahalle, Sokak, Cadde Bilgisi SQL Şeklinde
Stars: ✭ 235 (+370%)
Mutual labels:  xml
Correios Brasil
Módulo completo consultar informações sobre o CEP, calcular o preço e os prazos das entregas das encomendas e também realizar o rastreio de multiplos produtos !
Stars: ✭ 240 (+380%)
Mutual labels:  xml
Bible
Bible: JSON + XML
Stars: ✭ 246 (+392%)
Mutual labels:  xml
Libyang
YANG data modeling language library
Stars: ✭ 227 (+354%)
Mutual labels:  xml
DataBindingCompat
A Gradle plugin that makes databinding work well with appcompat
Stars: ✭ 13 (-74%)
Mutual labels:  vectordrawable
Xxexploiter
Tool to help exploit XXE vulnerabilities
Stars: ✭ 243 (+386%)
Mutual labels:  xml
X2struct
Convert between json string and c++ object. json字符串和c++结构体之间互相转换
Stars: ✭ 251 (+402%)
Mutual labels:  xml
Nodekrpano
Krpano 全景笔记
Stars: ✭ 235 (+370%)
Mutual labels:  xml
Ono
A sensible way to deal with XML & HTML for iOS & macOS
Stars: ✭ 2,599 (+5098%)
Mutual labels:  xml
Erlsom
XML parser for Erlang
Stars: ✭ 246 (+392%)
Mutual labels:  xml
Horaires Ratp Api
Webservice pour les horaires et trafic RATP en temps réel
Stars: ✭ 232 (+364%)
Mutual labels:  xml
Swift Utils
A collection of handy swift utils
Stars: ✭ 253 (+406%)
Mutual labels:  xml
Pugixml
Light-weight, simple and fast XML parser for C++ with XPath support
Stars: ✭ 2,809 (+5518%)
Mutual labels:  xml
Slow Cheetah
XML Transforms for app.config and other XML files
Stars: ✭ 243 (+386%)
Mutual labels:  xml
svg2vector
Online batch converter of SVG images to Android vector drawable XML resource files
Stars: ✭ 39 (-22%)
Mutual labels:  vectordrawable
BottomNavigation-RichPath-Sample
BottomNavigation RichPath Sample
Stars: ✭ 76 (+52%)
Mutual labels:  vectordrawable
Cayenne
Mirror of Apache Cayenne
Stars: ✭ 250 (+400%)
Mutual labels:  xml

VectorDrawable2Svg

Introduction

The VectorDrawable2Svg.py Python script converts Android VectorDrawable .xml files to .svg files.

This repository was forked from https://gitlab.com/Hyperion777/VectorDrawable2Svg to add handling of indirect colour references (e.g. in color.xml files) since that repository did not seem to be actively maintained (based on the unaddressed issues and merge/pull requests there at the time).

Usage

python3 VectorDrawable2Svg.py a.xml b.xml ...
./VectorDrawable2Svg.py --color-xml-file=path/to/color.xml a.xml b.xml ...
/path/to/VectorDrawable2Svg.py --viewbox-only a.xml b.xml ...

The output .svg files are written in the same directory as the .xml files (currently by simply replacing .xml with .svg in the filename).

Improvements

This Python script only supports some Android VectorDrawable attributes.

Suggestions (or merge requests) for improvement are welcome.

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].