summaryrefslogtreecommitdiffstats
path: root/share/extensions/raster_output_webp.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/raster_output_webp.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/raster_output_webp.inx')
-rw-r--r--share/extensions/raster_output_webp.inx38
1 files changed, 38 insertions, 0 deletions
diff --git a/share/extensions/raster_output_webp.inx b/share/extensions/raster_output_webp.inx
new file mode 100644
index 0000000..28e22f9
--- /dev/null
+++ b/share/extensions/raster_output_webp.inx
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Export to WebP</name>
+ <id>org.inkscape.raster.webp_output</id>
+
+ <param name="tab" type="notebook">
+ <page name="options" gui-text="Options">
+ <param name="lossless" type="bool"
+ gui-text="Lossless:"
+ gui-description="Do not use lossy compression."
+ >true</param>
+ <param name="quality" type="int" min="1" max="100"
+ gui-text="Quality:"
+ gui-description="Quality between 1 and 100"
+ >80</param>
+ <param name="speed" type="optiongroup" appearance="combo" gui-text="Speed:">
+ <option value="0">Fastest</option>
+ <option value="1">Faster</option>
+ <option value="2">Fast</option>
+ <option value="3">Balanced</option>
+ <option value="4">Good</option>
+ <option value="5">Better</option>
+ <option value="6">Best</option>
+ </param>
+ </page>
+ </param>
+
+ <output raster="true">
+ <extension>.webp</extension>
+ <mimetype>image/webp</mimetype>
+ <filetypename>WebP (*.webp)</filetypename>
+ <filetypetooltip>Export to WebP file format.</filetypetooltip>
+ </output>
+
+ <script>
+ <command location="inx" interpreter="python">raster_output_webp.py</command>
+ </script>
+</inkscape-extension>