summaryrefslogtreecommitdiffstats
path: root/share/extensions/image_extract.inx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/image_extract.inx
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/image_extract.inx')
-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