Postscript Delegate Failed, many fixes tried
Posted: 2012-10-07T18:04:31-07:00
I am looking to get ImageMagick working with gs and imagick. I am trying to execute the line of code:
When I do, I get this error:
I have done quite a bit of Googling / attempts to fix this. I have (in no order)
- Reinstalled gs and ImageMagick (currently imagick is giving me a bizarre make error due to the fact that I am using the RC rather than the stable)
- Added the extension to php.ini (imagick.so)
- Re-configured the ImageMagick installation to include --with-gslib (gs is added to the list)
- Dynamically linked /usr/bin's
- A few other things (yes, they are all available and installed).
The convert command DOES work, I have tested and confirmed it's usage with the following line which runs fine with no errors. The resulting PDF displays perfectly.
I've exhausted nearly everything I can think of, and most of what Google and other sites have to offer. Does anyone have any advice on the best way to approach this? I'm glad to produce logs and such, just not sure exactly what would help with this error.
Code: Select all
$img = new Imagick($pdf_file."[0]");
Code: Select all
exception 'ImagickException' with message 'Postscript delegate failed...
- Reinstalled gs and ImageMagick (currently imagick is giving me a bizarre make error due to the fact that I am using the RC rather than the stable)
- Added the extension to php.ini (imagick.so)
- Re-configured the ImageMagick installation to include --with-gslib (gs is added to the list)
- Dynamically linked /usr/bin's
- A few other things (yes, they are all available and installed).
The convert command DOES work, I have tested and confirmed it's usage with the following line which runs fine with no errors. The resulting PDF displays perfectly.
Code: Select all
convert test.pdf test2.pdf