No longer decode a bpg file to a png file (#8159).

This commit is contained in:
Dirk Lemstra
2025-05-16 12:31:05 +02:00
parent d120611310
commit c3a66fdc2a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ static const char
*DelegateMap = (const char *)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<delegatemap>"
" <delegate decode=\"bpg\" command=\"" DELEGATE_ESC "bpgdec" DELEGATE_ESC " -b 16 -o " DELEGATE_ESC "%o.png" DELEGATE_ESC " " DELEGATE_ESC "%i" DELEGATE_ESC "; mv " DELEGATE_ESC "%o.png" DELEGATE_ESC " " DELEGATE_ESC "%o" DELEGATE_ESC "\"/>"
" <delegate decode=\"bpg\" command=\"" DELEGATE_ESC "bpgdec" DELEGATE_ESC " -b 16 -o " DELEGATE_ESC "%o" DELEGATE_ESC " " DELEGATE_ESC "%i" DELEGATE_ESC "\"/>"
" <delegate decode=\"png\" encode=\"bpg\" command=\"" DELEGATE_ESC "bpgenc" DELEGATE_ESC " -b 12 -q %~ -o " DELEGATE_ESC "%o" DELEGATE_ESC " " DELEGATE_ESC "%i" DELEGATE_ESC "\"/>"
" <delegate decode=\"browse\" stealth=\"True\" spawn=\"True\" command=\"" DELEGATE_ESC "xdg-open" DELEGATE_ESC " https://imagemagick.org/; rm " DELEGATE_ESC "%i" DELEGATE_ESC "\"/>"
" <delegate decode=\"cdr\" command=\"" DELEGATE_ESC "uniconvertor" DELEGATE_ESC " " DELEGATE_ESC "%i" DELEGATE_ESC " " DELEGATE_ESC "%o.svg" DELEGATE_ESC "; mv " DELEGATE_ESC "%o.svg" DELEGATE_ESC " " DELEGATE_ESC "%o" DELEGATE_ESC "\"/>"
+1 -1
View File
@@ -59,7 +59,7 @@
will it read any output image.
-->
<delegatemap>
<delegate decode="bpg" command="&apos;@BPGDecodeDelegate@&apos; -b 16 -o &apos;%o.png&apos; &apos;%i&apos;; @MVDelegate@ &apos;%o.png&apos; &apos;%o&apos;"/>
<delegate decode="bpg" command="&apos;@BPGDecodeDelegate@&apos; -b 16 -o &apos;%o&apos; &apos;%i&apos;"/>
<delegate decode="png" encode="bpg" command="&apos;@BPGEncodeDelegate@&apos; -b 12 -q &apos;%~&apos; -o &apos;%o&apos; &apos;%i&apos;"/>
<delegate decode="blender" command="&apos;@BlenderDecodeDelegate@&apos; -b &apos;%i&apos; -F PNG -o &apos;%o&apos;&apos;\n&apos;@ConvertDelegate@&apos; -concatenate &apos;%o*.png&apos; &apos;%o&apos;"/>
<delegate decode="browse" stealth="True" spawn="True" command="&apos;@BrowseDelegate@&apos; https://imagemagick.org/; @RMDelegate@ &apos;%i&apos;"/>