diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
commit | cca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch) | |
tree | 146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/gimp_xcf.inx | |
parent | Initial commit. (diff) | |
download | inkscape-upstream/1.2.2.tar.xz inkscape-upstream/1.2.2.zip |
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | share/extensions/gimp_xcf.inx | 31 |
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> |