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