With this version and ImageMagick 6.8.9-7 reading .ps or .pdf fails
Reverting coders/ps.c and coders/pdf.c to version 6.8.9-0 solves this issue.
From a quick analysys of the changes in these coders
- previous : rely on command exit code, and retrieve message if needed
- current : rely on output and catch message with PostscriptDelegateMessage
Problem: ghostscript succeeds but display a warning, which raise an exception in ImageMagick.
Code: Select all
Exception: PDFDelegateFailed `[ghostscript library] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dUseCIEColor "-sOutputFile=/tmp/magick-320807xqpPIxdkvMk%d" "-f/tmp/magick-32080x_2jLbAXRyaJ" "-f/tmp/magick-32080lL2VmTkUoDy7"': -dname= must be followed by a valid token @ error/pdf.c/InvokePDFDelegate/256
See http://forums.famillecollet.com/viewtopic.php?id=2898 (postscript) and http://forums.famillecollet.com/viewtopic.php?id=2914 (pdf)