forked from jespino/inkscape-export-layers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexport_layers.inx
25 lines (25 loc) · 1.29 KB
/
export_layers.inx
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Export Layers</_name>
<id>net.kaleidos.export.layers</id>
<dependency type="executable" location="extensions">export_layers.py</dependency>
<param name="help" type="description">Export your file in different png files by layer.<br/><br/>
Layers with name starting with "[fixed]" are always exported on all images.<br/>
Layers with name starting with "[export]" are exported on saparate images.<br/></param>
<param name="path" type="string" _gui-text="Choose path to export">./</param>
<param name="filetype" type="optiongroup" gui-text="Export layers as..." appearance="minimal">
<option selected="selected" value="jpeg">JPEG</option>
<option value="png">PNG</option>
</param>
<param name="crop" type="bool" _gui-text="Crop to canvas?">true</param>
<param name="dpi" type="float" min="0.0" max="1000.0" _gui-text="Export DPI">90</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">export_layers.py</command>
</script>
</inkscape-extension>