summaryrefslogtreecommitdiffstats
path: root/share/extensions/gimp_xcf.inx
blob: d4c75443d0cbf0c10b86c39bf86217d6a12a8ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>