check for ghostscript support in php imagick?

ghostscript, imagick, pdf, php

Solution

I don't know much about `imagick`, but some things about `imagemagick`. My guess is that by reading this answer related to imagemagick could help you with imagick as well:

 convert -list delegate | grep -Ei '(PDF|PS|EPS)'

(`convert` is one of the CLI utilities which are part of `imagemagick`.)

Problem

is it possible to check the php imagick extension for ghostscript support? for example if it is turned on / off, the ghostscript version used, etc. which possibilities are there to get additional ghostscript / pdf details? the only thing i've found so far is this (version of imagick lib itself): http://php.net/manual/en/imagick.getversion.php ps: no system calls are allowed (e.g. exec) from within php

Original source

Related problems