This repository was archived by the owner on Jan 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathandroid_export.inx
More file actions
42 lines (37 loc) · 2.21 KB
/
android_export.inx
File metadata and controls
42 lines (37 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Android Export</_name>
<id>de.cbecker.android_export</id>
<dependency type="executable" location="extensions">android_export.py</dependency>
<param name="source" type="notebook">
<page name="selected_ids" _gui-text="Selection">
<_param name="title" type="description">Exports all currently selected items in different densities. If there are multiple selections, the exported PNGs will be named by their ID in the SVG, so make sure that all items have reasonable IDs.</_param>
<param name="only-selected" type="boolean" _gui-text="Hide all except selected">true</param>
<param name="transparent-background" type="boolean" _gui-text="Transparent background">false</param>
<param name="scale" type="float" _gui-text="Output scale">1</param>
</page>
<page name="page" _gui-text="Page">
<_param name="title" type="description">Exports the entire page in different densities.</_param>
</page>
</param>
<param name="resname" type="string" _gui-text="Resource name" />
<param name="resdir" type="string" _gui-text="Android Resource directory"></param>
<param name="launcher-icon" type="boolean" _gui-text="Launcher Icon">false</param>
<param name="ldpi" type="boolean" _gui-text="Export LDPI variants">false</param>
<param name="mdpi" type="boolean" _gui-text="Export MDPI variants">true</param>
<param name="hdpi" type="boolean" _gui-text="Export HDPI variants">true</param>
<param name="xhdpi" type="boolean" _gui-text="Export XHDPI variants">true</param>
<param name="xxhdpi" type="boolean" _gui-text="Export XXHDPI variants">true</param>
<param name="xxxhdpi" type="boolean" _gui-text="Export XXXHDPI variants">true</param>
<param name="strip" type="boolean" _gui-text="Use ImageMagick to reduce the image size">false</param>
<param name="optimize" type="boolean" _gui-text="Use OptiPNG to reduce the image size">true</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="Export"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">android_export.py</command>
</script>
</inkscape-extension>