Bug #86369 » delegates.mgk.diff

Danilo Godec, 2018-09-25 11:57

View differences:

/usr/lib64/GraphicsMagick-1.3.25/config/delegates.mgk 2018-09-25 10:39:18.125816423 +0200
76 76
  <delegate decode="dot" command='"dot" -Tps "%i" -o "%o"' />
77 77
  <delegate decode="dvi" command='"dvips" -q -o "%o" "%i"' />
78 78
  <delegate decode="edit" stealth="True" command='"xterm" -title "Edit Image Comment" -e vi "%o"' />
79
  <delegate decode="eps" encode="pdf" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i" -c quit' />
80
  <delegate decode="eps" encode="ps" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=ps2write "-sOutputFile=%o" -- "%i" -c quit' />
79 81
  <delegate decode="fig" command='"fig2dev" -L ps "%i" "%o"' />
80 82

  
83
  <!-- Read monochrome Postscript, EPS, and PDF  -->
84
  <delegate decode="gs-mono" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pbmraw -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
85

  
86
  <!-- Read grayscale Postscript, EPS, and PDF  -->
87
  <delegate decode="gs-gray" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pgmraw -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
88

  
89
  <!-- Read colormapped Postscript, EPS, and PDF  -->
90
  <delegate decode="gs-palette" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pcx256 -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
91

  
92
  <!-- Read color Postscript, EPS, and PDF  -->
93
  <delegate decode="gs-color" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pnmraw -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
94

  
95
  <!-- Read color+alpha Postscript, EPS, and PDF  -->
96
  <delegate decode="gs-color+alpha" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pngalpha -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
97

  
98
  <!-- Read CMYK Postscript, EPS, and PDF  -->
99
  <delegate decode="gs-cmyk" stealth="True" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pamcmyk32 -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -r%s %s "-sOutputFile=%s" -- "%s" -c quit' />
100

  
81 101
  <delegate decode="hpg" command='"hp2xx" -q -m eps -f `basename "%o"` "%i" && /usr/bin/mv -f `basename "%o"` "%o"' />
82 102
  <delegate decode="hpgl" command='"hp2xx" -q -m eps -f `basename "%o"` "%i" && /usr/bin/mv -f `basename "%o"` "%o"' />
83 103
  <!-- Read HTML file  -->
......
90 110
  <delegate decode="mpeg" command='"mpeg2decode" -q -b "%i" -f -o3 "%u%%05d"; /usr/bin/gm convert -temporary "%u*.ppm" "miff:%o" ; rm -f "%u"*.ppm ' />
91 111
  <!-- Write MPEG file using mpeg2encode -->
92 112
  <delegate encode="mpeg-encode" stealth="True" command='"mpeg2encode" "%i" "%o"' />
113
  <!-- Convert PDF to Encapsulated Poscript using Ghostscript -->
114
  <delegate decode="pdf" encode="eps" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=eps2write "-sOutputFile=%o" -- "%i" -c quit' />
115
  <!-- Convert PDF to Postcript using Ghostscript -->
116
  <delegate decode="pdf" encode="ps" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=ps2write "-sOutputFile=%o" -- "%i" -c quit' />
93 117
  <!-- Convert PNM file to IFF ILBM format using ppmtoilbm -->
94 118
  <delegate decode="pnm" encode="ilbm" mode="encode" command='"ppmtoilbm" -24if "%i" > "%o"' />
95 119
  <delegate decode="pnm" encode="launch" mode="encode" command='"gimp" "%i"' />
96 120
  <delegate decode="pnm" encode="win" mode="encode" command='"/usr/bin/gm" display -immutable "%i"' />
121
  <delegate decode="ps" encode="eps" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=eps2write "-sOutputFile=%o" -- "%i" -c quit' />
122
  <delegate decode="ps" encode="pdf" mode="bi" command='"/usr/bin/gs" -q -dBATCH -dSAFER -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i" -c quit' />
97 123
  <delegate decode="ps" encode="print" mode="encode" command='"/usr/bin/lpr" "%i"' />
98 124
  <!-- Read HTML file  -->
99 125
  <delegate decode="shtml" command='"html2ps" -U -o "%o" "%i"' />
(1-1/2)