ghostscript

Having trouble using IMAGEMAGICK in PHP via shell_exec? Try putenv()!

Having trouble using IMAGEMAGICK in PHP via shell_exec? Try putenv()!

Some days ago we wanted to use imagemagick via PHP to create preview images from PDF pages.
We were trying some standard modules like pdfpreview.module, pdfthumb.module, pdf_to_imagefield.module which are all based on imagemagick.
As a helper the imagemagick.module was used.