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/color_replace.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/color_replace.inx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/share/extensions/color_replace.inx b/share/extensions/color_replace.inx new file mode 100644 index 0000000..dab9d0c --- /dev/null +++ b/share/extensions/color_replace.inx @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Replace color</name> + <id>org.inkscape.color.replace_color</id> + <param name="tab" type="notebook"> + <page name="from" gui-text="Color to replace"> + <param name="from_color" type="color" gui-text="From color"></param> + <param name="ignore_opacity" type="bool" + gui-text="Ignore opacity when searching for colors to replace">true</param> + </page> + <page name="to" gui-text="New color"> + <param name="to_color" type="color" gui-text="To color"></param> + </page> + </param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="Color"/> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">color_replace.py</command> + </script> +</inkscape-extension> |