tibold / svg-explorer-extension

Extension module for Windows Explorer to render SVG thumbnails, so that you can have an overview of your SVG files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: also support Android VectorDrawable , or create a similar tool for it

AndroidDeveloperLB opened this issue · comments

Currently this is the only plugin I know for Explorer on Windows OS to show SVG files.
I like this tool very much.

As I'm an Android developer, I have both SVG files and VectorDrawable files.

Android itself doesn't support SVG files directly. It requires either a special library to render it (which most apps don't do it, as it's very complex) or uses a similar format called "VectorDrawable". It's XML-based and offers less functionality than SVG. Thing is that only the IDE (Android Studio) can show previews of it, and maybe some online tools (for conversion between the two). In the past, I remember the conversion (in the IDE) was pretty bad, choosing wrong colors or just failed. Over time it became a bit better.

I would like to request to either support it here on this tool (with option to enable/disable it for those that don't want it), or create a similar tool just for it.

Examples of VectorDrawable files can be found on each sub-folder of "...res/drawable/" in :

https://github.com/google/material-design-icons/tree/master/android

Example:

https://github.com/google/material-design-icons/tree/master/android/action/3d_rotation/materialicons/black/res/drawable

That sounds like a reasonable request. If QT (which does the actual "drawing" for this extension) supports it directly that should be easy, if not it may be possible to convert to an svg internally, then use the current code.

The likely "hardest" part is to register that for XML while not breaking other XML previews.

Note: for recent Windows versions you may want to try the MS File Explorer Addons and if it doesn't work with those currently create an issue there.

@GitMensch What is this other addon?
Is it a newer version of the current one?
Or a very different one?
Is it open sourced like the current one?
I can't even see how I can install it...
Why write about it there?
What's special about "recent Windows versions" ? The current one is no longer working properly? Is it about to stop being updated?

Also I don't see it mentioned there that it's supported.

The MS file explorer addons, which are part of the "revamped" Powertoys (now MIT-licensed and community-driven) only work on "reasonable new" Windows versions, while this addition also works for much older (actually I haven't used that on W10 any more since I've started to use the other addon).
If it isn't supported there I suggest to create an issue (see link above) and see if someone picks that up and adds it to that software, which has much more developers and users than this addon.