summaryrefslogtreecommitdiff
path: root/templates/input.inx
diff options
context:
space:
mode:
Diffstat (limited to 'templates/input.inx')
-rw-r--r--templates/input.inx17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/input.inx b/templates/input.inx
new file mode 100644
index 00000000..15ccdef8
--- /dev/null
+++ b/templates/input.inx
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <_name>{{ format | upper }} file input</_name>
+ <id>org.inkstitch.input.{{ format }}</id>
+ <dependency type="executable" location="extensions">inkstitch.py</dependency>
+ <dependency type="executable" location="extensions">inkex.py</dependency>
+ <input>
+ <extension>.{{ format }}</extension>
+ <mimetype>application/x-embroidery-{{ format }}</mimetype>
+ <_filetypename>Ink/Stitch: {{ description }} (.{{ format }})</_filetypename>
+ <_filetypetooltip>convert {{ format | upper }} file to Ink/Stitch manual-stitch paths</_filetypetooltip>
+ </input>
+ <param name="extension" type="string" gui-hidden="true">input</param>
+ <script>
+ <command reldir="extensions" interpreter="python">inkstitch.py</command>
+ </script>
+</inkscape-extension>