Add support for android's VectorDrawable xml format

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
fttpic
Posts: 8
Joined: 2016-12-20T11:14:36-07:00
Authentication code: 1151

Add support for android's VectorDrawable xml format

Post by fttpic »

You need to decompile the apk using "APK Easy Tool" or similar.
The attached file belongs to:

Android application:
package:/system/priv-app/LGSystemUI/LGSystemUI.apk=com.android.systemui

Resource file inside the apk once decompiled:
res/drawable-nodpi-v4/icon.xml

More information:
https://developer.android.com/reference ... wable.html
https://developer.android.com/studio/wr ... tudio.html
http://stackoverflow.com/questions/3309 ... r-drawable

XML example file:
https://bugzilla.gnome.org/attachment.cgi?id=342173
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Add support for android's VectorDrawable xml format

Post by dlemstra »

I moved your topic to the developers part because you are asking for an extra feature. We don't consider this a bug.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
fttpic
Posts: 8
Joined: 2016-12-20T11:14:36-07:00
Authentication code: 1151

Re: Add support for android's VectorDrawable xml format

Post by fttpic »

Thanks I posted on bugs since there's no request feature subforum.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Add support for android's VectorDrawable xml format

Post by magick »

Can you track down several more Android XML files and their corresponding rendering and post a URL to download them here. We'll use the vector set to verify our vector drawable coder is working properly.

What is the usual file extension for an Android vector drawable?
fttpic
Posts: 8
Joined: 2016-12-20T11:14:36-07:00
Authentication code: 1151

Re: Add support for android's VectorDrawable xml format

Post by fttpic »

More information:
This web application converts SVG to VectorDrawable, you just need to support both formats:
-> https://ozodrukh.github.io/Svg2MrVector/
-> https://github.com/inloop/svg2android
-> https://github.com/telly/MrVector

Tried to visualize several xml files as pictures with Android Studio, but it's much more difficult that it should.
jfinkhaeuser
Posts: 1
Joined: 2017-11-10T02:51:12-07:00
Authentication code: 1152

Re: Add support for android's VectorDrawable xml format

Post by jfinkhaeuser »

I would love to know what the status of this is!
Post Reply