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-351581gZ20Q4qJ48yf%d\” \”-f/tmp/magick-351581xia-8UvwEf8P\” \”-f/tmp/magick-351581ff9mQ5W2OxHq\”\’: -dname= must be followed by a valid token @ error/pdf.c/InvokePDFDelegate/263
There is a possibility that you’re trying to convert PDF which created with new software, but your server Ghostscript version is not compatible with new format changes.
For these type of cases we created the following thread on the support forum: https://support.wp.teamlead.pw/q/exception-imagickexception-with-message-pdfdelegatefailed/
I’ll add a quote from there for the reference:
This issue could appear in situation, when you are trying to import newly created PDFs with old versions of Ghostscript, for example Ghostscript 8.70 which was released about 7 years ago! – in 2009-07-31 ( http://ghostscript.com/doc/current/History8.htm )
If you import PDF and see the described error, probably (but not definitely) your PDF contains some parts, formatting or content which were added to the format/specification after 2009.
And that’s probably the reason why you cannot convert this PDF. Though for more simple and/or old PDF Ghostscript 8.70 could work perfectly and because of that we do not limit Ghostscript requirements.
We could successfully import most test PDFs from our users with Ghostscript 9.18 (released in 2015).
Besides that’s the good practice to update software often for security reasons.
So for now you could send us PDF which you couldn’t convert and we will check it on our side. Also please share any error logs from the server which could help us to debug (please send them to the firstname.lastname@example.org) including plugin’s log which you could find on the plugin’s settings page.
Please login or Register to submit your answer