summaryrefslogtreecommitdiffstats
path: root/share/extensions/gimp_xcf.inx
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/gimp_xcf.inx')
-rw-r--r--share/extensions/gimp_xcf.inx31
1 files changed, 31 insertions, 0 deletions
diff --git a/share/extensions/gimp_xcf.inx b/share/extensions/gimp_xcf.inx
new file mode 100644
index 0000000..d4c7544
--- /dev/null
+++ b/share/extensions/gimp_xcf.inx
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>GIMP XCF</name>
+ <id>org.ekips.output.gimp_xcf</id>
+ <dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
+ <dependency type="executable" location="path">gimp</dependency>
+ <param name="tab" type="notebook">
+ <page name="Options" gui-text="Options">
+ <param name="guides" type="bool" gui-text="Save Guides" gui-description="Convert all guides to Gimp guides.">false</param>
+ <param name="grid" type="bool" gui-text="Save Grid" gui-description="Convert the first rectangular grid to a Gimp grid (note that the default Inkscape grid is very narrow when shown in Gimp).">false</param>
+ <param name="background" type="bool" gui-text="Save Background" gui-description="Add the document background to each converted layer.">false</param>
+ <param name="dpi" type="float" min="1" max="3000" gui-text="File Resolution:" gui-description="XCF file resolution, in DPI.">96</param>
+ </page>
+ <page name="Help" gui-text="Help">
+ <label xml:space="preserve">This extension exports the document to Gimp XCF format according to the following options:
+
+Each first level layer is converted to a Gimp layer. Sublayers are concatenated and converted with their first level parent layer into a single Gimp layer.</label>
+ </page>
+ </param>
+ <output>
+ <extension>.xcf</extension>
+ <mimetype>application/x-xcf</mimetype>
+ <filetypename>GIMP XCF maintaining layers (*.xcf)</filetypename>
+ <filetypetooltip>GIMP XCF maintaining layers (*.xcf)</filetypetooltip>
+ <dataloss>true</dataloss>
+ </output>
+ <script>
+ <command location="inx" interpreter="python">gimp_xcf.py</command>
+ <helper_extension>org.inkscape.output.svg.inkscape</helper_extension>
+ </script>
+</inkscape-extension>