| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE delegatemap [ |
| 3 |
<!ELEMENT delegatemap (delegate)+> |
| 4 |
<!ATTLIST delegatemap xmlns CDATA #FIXED ''> |
| 5 |
<!ELEMENT delegate EMPTY> |
| 6 |
<!ATTLIST delegate xmlns CDATA #FIXED '' command CDATA #REQUIRED |
| 7 |
decode NMTOKEN #IMPLIED encode NMTOKEN #IMPLIED mode NMTOKEN #IMPLIED |
| 8 |
spawn NMTOKEN #IMPLIED stealth NMTOKEN #IMPLIED> |
| 9 |
]> |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
<delegatemap> |
| 61 |
<delegate decode="bpg" command="'bpgdec' -b 16 -o '%o.png' '%i'; /usr/bin/mv '%o.png' '%o'"/> |
| 62 |
<delegate decode="png" encode="bpg" command="'bpgenc' -b 12 -o '%o' '%i'"/> |
| 63 |
<delegate decode="blender" command="'blender' -b '%i' -F PNG -o '%o''\n'magick' convert -concatenate '%o*.png' '%o'"/> |
| 64 |
<delegate decode="browse" stealth="True" spawn="True" command="'xdg-open' https://imagemagick.org/; /usr/bin/rm '%i'"/> |
| 65 |
<delegate decode="cdr" command="'uniconvertor' '%i' '%o.svg'; /usr/bin/mv '%o.svg' '%o'"/> |
| 66 |
<delegate decode="cgm" command="'uniconvertor' '%i' '%o.svg'; /usr/bin/mv '%o.svg' '%o'"/> |
| 67 |
<delegate decode="https" command="'curl' -s -k -L -o '%o' 'https:%M'"/> |
| 68 |
<delegate decode="doc" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 69 |
<delegate decode="docx" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 70 |
<delegate decode="dng:decode" command="'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i'"/> |
| 71 |
<delegate decode="dot" command=''dot' -Tsvg '%i' -o '%o'' /> |
| 72 |
<delegate decode="dvi" command="'dvips' -sstdout=%%stderr -o '%o' '%i'"/> |
| 73 |
<delegate decode="dxf" command="'uniconvertor' '%i' '%o.svg'; /usr/bin/mv '%o.svg' '%o'"/> |
| 74 |
<delegate decode="edit" stealth="True" command="'xterm' -title 'Edit Image Comment' -e vi '%o'"/> |
| 75 |
<delegate decode="eps" encode="pdf" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 '-sDEVICE=pdfwrite' '-sOutputFile=%o' '-f%i'"/> |
| 76 |
<delegate decode="eps" encode="ps" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=ps2write' '-sOutputFile=%o' '-f%i'"/> |
| 77 |
<delegate decode="fig" command="'uniconvertor' '%i' '%o.svg'; /usr/bin/mv '%o.svg' '%o'"/> |
| 78 |
<delegate decode="hpg" command="'hp2xx' -sstdout=%%stderr -m eps -f `basename '%o'` '%i'; /usr/bin/mv -f `basename '%o'` '%o'"/> |
| 79 |
<delegate decode="hpgl" command="'hp2xx' -sstdout=%%stderr -m eps -f `basename '%o'` '%i'; /usr/bin/mv -f `basename '%o'` '%o'"/> |
| 80 |
<delegate decode="htm" command="'html2ps' -U -o '%o' '%i'"/> |
| 81 |
<delegate decode="html" command="'html2ps' -U -o '%o' '%i'"/> |
| 82 |
<delegate decode="ilbm" command="'ilbmtoppm' '%i' > '%o'"/> |
| 83 |
<delegate decode="jpg" encode="lep" mode="encode" command="'lepton' '%i' '%o'"/> |
| 84 |
<delegate decode="jxr" command="/usr/bin/mv '%i' '%i.jxr'; 'JxrDecApp' -i '%i.jxr' -o '%o.pnm'; /usr/bin/mv '%i.jxr' '%i'; /usr/bin/mv '%o.pnm' '%o'"/> |
| 85 |
<delegate decode="lep" mode="decode" command="'lepton' '%i' '%o'"/> |
| 86 |
<delegate decode="miff" encode="show" spawn="True" command="'magick' display -immutable -delay 0 -title '%M' '%i'"/> |
| 87 |
<delegate decode="miff" encode="win" stealth="True" spawn="True" command="'magick' display -immutable -delay 0 -title '%M' '%i'"/> |
| 88 |
<delegate decode="video:decode" command="'ffmpeg' -nostdin -v -1 -i '%i' -vframes %S -vcodec pam -an -f rawvideo -y '%u.pam' 2> '%u'"/> |
| 89 |
<delegate decode="odt" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 90 |
<delegate decode="pcl:cmyk" stealth="True" command="'pcl6' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pamcmyk32' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 91 |
<delegate decode="pcl:color" stealth="True" command="'pcl6' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=ppmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 92 |
<delegate decode="pcl:mono" stealth="True" command="'pcl6' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pbmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 93 |
<delegate decode="pdf" encode="eps" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sPDFPassword='%a' '-sDEVICE=eps2write' '-sOutputFile=%o' '-f%i'"/> |
| 94 |
<delegate decode="pdf" encode="ps" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=ps2write' -sPDFPassword='%a' '-sOutputFile=%o' '-f%i'"/> |
| 95 |
<delegate decode="png" encode="webp" command="'cwebp' -quiet %Q '%i' -o '%o'"/> |
| 96 |
<delegate decode="pnm" encode="ilbm" mode="encode" command="'ppmtoilbm' -24if '%i' > '%o'"/> |
| 97 |
<delegate decode="bmp" encode="jxr" command="/usr/bin/mv '%i' '%i.bmp'; 'JxrEncApp' -i '%i.bmp' -o '%o.jxr'; /usr/bin/mv '%i.bmp' '%i'; /usr/bin/mv '%o.jxr' '%o'"/> |
| 98 |
<delegate decode="bmp" encode="wdp" command="/usr/bin/mv '%i' '%i.bmp'; 'JxrEncApp' -i '%i.bmp' -o '%o.jxr'; /usr/bin/mv '%i.bmp' '%i'; /usr/bin/mv '%o.jxr' '%o'"/> |
| 99 |
<delegate decode="ppt" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 100 |
<delegate decode="pptx" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 101 |
<delegate decode="ps" encode="prt" command=''/usr/bin/lpr' '%i''/> |
| 102 |
<delegate decode="ps:alpha" stealth="True" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '-f%s' '-f%s'"/> |
| 103 |
<delegate decode="ps:cmyk" stealth="True" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pamcmyk32' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '-f%s' '-f%s'"/> |
| 104 |
<delegate decode="ps:color" stealth="True" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pnmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '-f%s' '-f%s'"/> |
| 105 |
<delegate decode="ps" encode="eps" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=eps2write' '-sOutputFile=%o' '-f%i'"/> |
| 106 |
<delegate decode="ps" encode="pdf" mode="bi" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pdfwrite' '-sOutputFile=%o' '-f%i'"/> |
| 107 |
<delegate decode="ps" encode="print" mode="encode" command="lpr '%i'"/> |
| 108 |
<delegate decode="ps:mono" stealth="True" command="'gs' -sstdout=%%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pbmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '-f%s' '-f%s'"/> |
| 109 |
<delegate decode="shtml" command="'html2ps' -U -o '%o' '%i'"/> |
| 110 |
<delegate decode="sid" command="'mrsidgeodecode' -if sid -i '%i' -of tif -o '%o' > '%u'"/> |
| 111 |
<delegate decode="svg" command="'rsvg-convert' -o '%o' '%i'"/> |
| 112 |
|
| 113 |
<delegate decode="svg:decode" stealth="True" command="'inkscape' '%s' --export-file='%s' --export-dpi='%s' --export-background='%s' --export-background-opacity='%s' > '%s' 2>&1"/> |
| 114 |
<delegate decode="tiff" encode="launch" mode="encode" command="'gimp' '%i'"/> |
| 115 |
<delegate decode="wdp" command="/usr/bin/mv '%i' '%i.jxr'; 'JxrDecApp' -i '%i.jxr' -o '%o.bmp'; /usr/bin/mv '%i.jxr' '%i'; /usr/bin/mv '%o.bmp' '%o'"/> |
| 116 |
<delegate decode="webp" command="'dwebp' -pam '%i' -o '%o'"/> |
| 117 |
<delegate decode="xls" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 118 |
<delegate decode="xlsx" command="'soffice' --convert-to pdf -outdir `dirname '%i'` '%i' 2> '%u'; /usr/bin/mv '%i.pdf' '%o'"/> |
| 119 |
<delegate decode="xps:cmyk" stealth="True" command="'gxps' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=bmpsep8' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 120 |
<delegate decode="xps:color" stealth="True" command="'gxps' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=ppmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 121 |
<delegate decode="xps:mono" stealth="True" command="'gxps' -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pbmraw' -dTextAlphaBits=%u -dGraphicsAlphaBits=%u '-r%s' %s '-sOutputFile=%s' '%s'"/> |
| 122 |
<delegate encode="video:encode" stealth="True" command="'ffmpeg' -nostdin -v -1 -i '%M%%d.jpg' '%u.%m' 2> '%u'"/> |
| 123 |
</delegatemap> |