PDFs on IIS
Posted: 2012-03-01T03:25:37-07:00
I'm trying to do various image manipulations on PDFs, and it works absolutely fine on Linux, but not on IIS.
ImageMagick works fine with other file formats.
GhostScript works fine when called directly.
I can even pipe the results from GhostScript to ImageMagick.
But when I try getting ImageMagick to handle PDFs on the fly, I get "Postscript delegate failed".
In fact it does work on the command line, but not through IIS when called through a CGI script.
So I think the problem is that ImageMagick can't find GhostScript, some config, registry or environment variable isn't set properly.
I've tried everything I can think of, but I'm now out of ideas.
Any help would be greatly appreciated!
I'm using ImageMagick 6.7.5-7.
Jason.
ImageMagick works fine with other file formats.
GhostScript works fine when called directly.
I can even pipe the results from GhostScript to ImageMagick.
But when I try getting ImageMagick to handle PDFs on the fly, I get "Postscript delegate failed".
In fact it does work on the command line, but not through IIS when called through a CGI script.
So I think the problem is that ImageMagick can't find GhostScript, some config, registry or environment variable isn't set properly.
I've tried everything I can think of, but I'm now out of ideas.
Any help would be greatly appreciated!
I'm using ImageMagick 6.7.5-7.
Jason.