summaryrefslogtreecommitdiffstats
path: root/share/extensions/ps_input.inx
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/ps_input.inx')
-rw-r--r--share/extensions/ps_input.inx18
1 files changed, 18 insertions, 0 deletions
diff --git a/share/extensions/ps_input.inx b/share/extensions/ps_input.inx
new file mode 100644
index 0000000..4419f58
--- /dev/null
+++ b/share/extensions/ps_input.inx
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>PostScript Input</name>
+ <id>org.inkscape.input.postscript_input</id>
+ <dependency type="extension">org.inkscape.input.pdf</dependency>
+ <dependency type="executable" location="path">ps2pdf</dependency>
+ <input>
+ <extension>.ps</extension>
+ <mimetype>image/x-postscript</mimetype>
+ <filetypename>PostScript (*.ps)</filetypename>
+ <filetypetooltip>PostScript</filetypetooltip>
+ <output_extension>org.inkscape.output.ps</output_extension>
+ </input>
+ <script>
+ <command location="inx" interpreter="python">ps_input.py</command>
+ <helper_extension>org.inkscape.input.pdf</helper_extension>
+ </script>
+</inkscape-extension>