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
Delegates are missing
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Delegates are missing
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 in the lines that are for decode of PDF, PS,EPS
Code: Select all
command=""gs"