When running Graphicsmagick in Windows, if Ghostscript
is installed under the 'Program Files' directory, an
error is returned that the Poscript delegate failed.
The problem is the name of the 'Program Files'
directory. The command that runs the delegate needs the
short path to the Ghostscript executable, like this:
In magic/nt_base.c, after this line:
code = NTGetRegistryValue(HKEY_LOCAL_MACHINE, key,
name, ptr, &length);
I added this line for a quick fix:
GetShortPathName(ptr, ptr, length);
and it solved the problem for my installation.
This is a trivial issue since most users will install
Ghostscript in the default location, c:\gs. However, it
is reasonable to expect the installation could be in
submitted by David Kelleher
sourceForge @ davidk (dot) net