source: gsdl/trunk/bin/windows/imagemagick/delegates.xml@ 17138

Last change on this file since 17138 was 17138, checked in by max, 16 years ago

Add ImageMagick 6.4.3 Dynamic version that can work in standalone mode.

File size: 9.5 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE delegatemap [
3<!ELEMENT delegatemap (delegate)+>
4<!ELEMENT delegate (#PCDATA)>
5<!ATTLIST delegate decode CDATA #IMPLIED>
6<!ATTLIST delegate encode CDATA #IMPLIED>
7<!ATTLIST delegate mode CDATA #IMPLIED>
8<!ATTLIST delegate spawn CDATA #IMPLIED>
9<!ATTLIST delegate stealth CDATA #IMPLIED>
10<!ATTLIST delegate command CDATA #REQUIRED>
11]>
12<!--
13 Delegate command file.
14
15 Commands which specify
16
17 decode="in_format" encode="out_format"
18
19 specify the rules for converting from in_format to out_format These
20 rules may be used to translate directly between formats.
21
22 Commands which specify only
23
24 decode="in_format"
25
26 specify the rules for converting from in_format to some format that
27 ImageMagick will automatically recognize. These rules are used to
28 decode formats.
29
30 Commands which specify only
31
32 encode="out_format"
33
34 specify the rules for an "encoder" which may accept any input format.
35
36 For delegates other than ps:alpha, ps:color, ps:mono, and mpeg-encode the
37 substitution rules are as follows:
38
39 %i input image filename
40 %o output image filename
41 %u unique temporary filename
42 %z secondary unique temporary filename
43
44 %# input image signature
45 %b image file size
46 %c input image comment
47 %g window group
48 %h image rows (height)
49 %k input image number colors
50 %m input image format
51 %p page number
52 %q input image depth
53 "%s" scene number
54 %w image columns (width)
55 %x input image x resolution
56 %y input image y resolution
57
58-->
59<delegatemap>
60<delegate decode="autotrace" stealth="True" command="autotrace -output-format svg -output-file &quot;%o&quot; &quot;%i&quot;"/>
61 <delegate decode="bmp" encode="launch" mode="encode" command="imdisplay.exe &quot;%i.&quot;"/>
62 <delegate decode="bmp" encode="win" mode="encode" command="imdisplay.exe &quot;%i.&quot;"/>
63 <delegate decode="browse" restrain="True" spawn="True" command="cmd /C start http://www.imagemagick.org/"/>
64 <delegate decode="cgm" command="ralcgm -d ps &quot;%i&quot; &quot;%o&quot; &quot;%u&quot; convert -concatenate %o*.ps &quot;%o&quot;"/>
65 <delegate decode="compress" restrain="True" command="|uncompress -c &quot;%i&quot;"/>
66 <delegate decode="miff" encode="compress" restrain="True" command="|compress -c &gt; &quot;%o&quot;"/>
67 <delegate decode="dng:decode" stealth="True" command="dcraw.exe -4 -w -O &quot;%u.pnm&quot; &quot;%i&quot;"/>
68 <delegate decode="dot" command="dot -Tps &quot;%i&quot; -o &quot;%o&quot;"/>
69 <delegate decode="dvi" command="dvips -q -o &quot;%o&quot; &quot;%i&quot;"/>
70 <delegate decode="edit" restrain="True" command="notepad &quot;%o&quot;"/>
71 <delegate decode="eps" encode="pdf" mode="bi" command="&quot;@PSDelegate@&quot; -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
72 <delegate decode="eps" encode="ps" mode="bi" command="&quot;@PSDelegate@&quot; -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dEPSCrop -dAlignToPixels=0 -sDEVICE=pswrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
73 <delegate decode="fig" command="/usr/X11R6/bin/fig2dev -L ps &quot;%i&quot; &quot;%o&quot;"/>
74 <delegate decode="gplt" command="/bin/echo &quot;set size 1.25,0.62 set terminal postscript portrait color solid; set output &quot;%o&quot;; load &quot;%i&quot;&quot; &gt; &quot;%u&quot;;gnuplot %u"/>
75 <delegate decode="hpgl" command="hp2xx -q -m eps -f &quot;%o&quot; &quot;%i&quot;"/>
76 <delegate decode="htm" command="html2ps -U -o &quot;%o&quot; &quot;%i&quot;"/>
77 <delegate decode="html" command="html2ps -U -o &quot;%o&quot; &quot;%i&quot;"/>
78 <delegate decode="ilbm" command="ilbmtoppm &quot;%i&quot; &gt; &quot;%o&quot;"/>
79 <delegate decode="man" command="groff -man -Tps &quot;%i&quot; &gt; &quot;%o&quot;"/>
80 <delegate decode="mpeg:decode" command="&quot;ffmpeg.exe&quot; -v -1 -i &quot;%i&quot; -vcodec pam -an -f rawvideo -y &quot;%u0.pam&quot;"/>
81 <delegate encode="mpeg:encode" stealth="True" command="&quot;ffmpeg.exe&quot; -v -1 -i &quot;%M%%d.jpg&quot; &quot;%u.%m&quot;"/>
82 <delegate decode="pcl:color" restrain="True" command="&quot;pcl6.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pnmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
83 <delegate decode="pcl:cmyk" restrain="True" command="&quot;pcl6.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=bmpsep8&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
84 <delegate decode="pcl:mono" restrain="True" command="&quot;pcl6.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pbmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
85 <delegate decode="pdf" encode="eps" mode="bi" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -sDEVICE=epswrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
86 <delegate decode="pdf" encode="ps" mode="bi" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 -sDEVICE=pswrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
87 <delegate decode="pgp" command="pgpv -fq &quot;%i&quot;"/>
88 <delegate decode="pnm" encode="ilbm" mode="encode" command="ppmtoilbm -24if &quot;%i&quot; &gt; &quot;%o&quot;"/>
89 <delegate decode="pov" command="povray &quot;+i&quot;%i&quot;&quot; -D0 +o&quot;%o&quot; +fn%q +w%w +h%h +a -q9 -kfi&quot;%s&quot; -kff&quot;%n&quot; convert -concatenate %o*.png &quot;%o&quot;"/>
90 <delegate decode="ps" encode="eps" mode="bi" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 -sDEVICE=epswrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
91 <delegate decode="ps" encode="pdf" mode="bi" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 -sDEVICE=pdfwrite &quot;-sOutputFile=%o&quot; -- &quot;%i&quot;"/>
92 <delegate decode="ps:alpha" restrain="True" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pngalpha&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;-f%s&quot; &quot;-f%s&quot;"/>
93 <delegate decode="ps:color" restrain="True" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pnmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;-f%s&quot; &quot;-f%s&quot;"/>
94 <delegate decode="ps:cmyk" restrain="True" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=bmpsep8&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;-f%s&quot; &quot;-f%s&quot;"/>
95 <delegate decode="ps:mono" restrain="True" command="&quot;@PSDelegate@&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pnmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;-f%s&quot; &quot;-f%s&quot;"/>
96 <delegate decode="hpg" command="hp2xx -q -m eps -f &quot;%o&quot; &quot;%i&quot;"/>
97 <delegate decode="rad" command="ra_ppm -g 1.0 &quot;%i&quot; &quot;%o&quot;"/>
98 <delegate decode="rgba" encode="rle" mode="encode" command="pnmtorle -o &quot;%o&quot; -v &quot;%i&quot;"/>
99 <delegate decode="scan" command="scanimage -d &quot;%i&quot; &gt; &quot;%o&quot;"/>
100 <delegate decode="shtml" command="html2ps -U -o &quot;%o&quot; &quot;%i&quot;"/>
101 <delegate decode="miff" encode="show" restrain="True" spawn="True" command="imdisplay.exe -immutable -window-group %g -title &quot;%l of %f&quot; &quot;tmp:%o&quot;"/>
102 <delegate decode="txt" encode="ps" mode="bi" command="enscript -o &quot;%o&quot; &quot;%i&quot;"/>
103 <delegate decode="xcf" command="xcftopnm &quot;%i&quot; &gt; &quot;%o&quot;"/>
104 <delegate decode="xps:color" restrain="True" command="&quot;gxps.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pnmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
105 <delegate decode="xps:cmyk" restrain="True" command="&quot;gxps.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=bmpsep8&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
106 <delegate decode="xps:mono" restrain="True" command="&quot;gxps.exe&quot; -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=pbmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
107</delegatemap>
Note: See TracBrowser for help on using the repository browser.