summaryrefslogtreecommitdiffstats
path: root/share/extensions/image_extract.inx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/image_extract.inx19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/extensions/image_extract.inx b/share/extensions/image_extract.inx
new file mode 100644
index 0000000..2a65be6
--- /dev/null
+++ b/share/extensions/image_extract.inx
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Extract Images</name>
+ <id>org.inkscape.filter.multiple.extract_image</id>
+ <param name="selectedonly" type="bool" gui-text="Extract only selected images">true</param>
+ <param name="directory" type="string" gui-text="Choose directory:" gui-description="Relative paths are interpreted with respect to the current file location. Missing folders are created automatically.">./images/</param>
+ <param name="basename" type="string" gui-text="File name base:" gui-description="Image file name prefix; will be suffixed with a counter. Leave empty to use image id for the file names. The file extension will be appended automatically."></param>
+ <param name="filepath" type="string" gui-hidden="true"></param>
+ <param name="linkextracted" type="bool" gui-text="Link extracted images" gui-description="After saving the image file, the image data is replaced with a link to that file.">true</param>
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Images"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">image_extract.py</command>
+ </script>
+</inkscape-extension> \ No newline at end of file