Page 1 of 1

Delegates are missing

Posted: 2019-05-06T22:27:02-07:00
by jerin
Hi Team ,

I am new to Imagemagick. When I ma trying to use it with PHP , I am getting the error as follow :
Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `PDF' @ error/constitute.c/ReadImage/501' in ----------
Do you know whey it happens ?
Please help me to go forward.

Thanks ,
Jerin

Re: Delegates are missing

Posted: 2019-05-07T09:36:12-07:00
by fmw42
Either Ghostscript is not installed or cannot be found or your policy.xml file needs to relax the permissions for PDF. See https://stackoverflow.com/questions/528 ... 3#52863413 for the latter. For the former, if you do have Ghostscript installed, then you may need to put the full path to (gs) Ghostscript in your delegates.xml file where is says

Code: Select all

command=""gs"
in the lines that are for decode of PDF, PS,EPS