I've allowed "read" to the "delegate" domain for the various postscript file formats in policy.xml:
Code: Select all
<policy domain="coder" rights="read" pattern="PS" />
<policy domain="delegate" rights="read" pattern="PS" />
<policy domain="coder" rights="read" pattern="PDF" />
<policy domain="delegate" rights="read" pattern="PDF" />
<policy domain="coder" rights="read" pattern="EPS" />
<policy domain="coder" rights="read" pattern="XPS" />
<policy domain="delegate" rights="read" pattern="EPS" />
<policy domain="delegate" rights="read" pattern="XPS" />
Code: Select all
convert /tmp/dfXvOyQHR0[0] -resample 72 /tmp/foo.jpg
convert.im6: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dFirstPage=1 -dLastPage=1 "-sOutputFile=/tmp/magick-0RtsLKdr--0000001" "-f/tmp/magick-RTEH2AAB" "-f/tmp/magick-tLKIPwXL" @ error/utility.c/SystemCommand/1890.
convert.im6: Postscript delegate failed `/tmp/dfXvOyQHR0': No such file or directory @ error/pdf.c/ReadPDFImage/677.
convert.im6: no images defined `/tmp/foo.jpg' @ error/convert.c/ConvertImageCommand/3044.
Or, even better, does anyone recognize what might be wrong here?
Many thanks!