Page 1 of 1

.EPS support in windows

Posted: 2007-01-22T12:27:54-07:00
by rhinst
I recently installed imagemagick from the windows binary release. I'm trying to convert a .eps file to a .png and am getting the following error:

Code: Select all

convert.exe no decode delegate for this image format 'test.eps'
convert.exe: missing an image filename 'test.png'
From what I've read, this error is a result of imagemagick not being able to find ghostscript, which it uses to read .eps files.

I've also read that, if imagemagick isn't compiled with ghostscript support, it can still make use of it at runtime as long as the gs program is in your path.

Ghostscript didn't come with a binary file named "gs.exe" (which, i assume is what imagemagick will look for), so I made a copy of gswin32.exe and renamed it to gs.exe. I then added the bin directory from my ghostscript installation to the PATH environment variable. I am still getting the same error message, however.

Is there something more that I need to do?

Thanks,

Rob

Posted: 2007-01-22T13:04:30-07:00
by magick
Ghostscript has a version which includes a Windows installer. This sets all the appropriate Windows registry entries so ImageMagick can locate the Ghostscript DLL's at run time. With the very latest ImageMagick release, 6.3.2-0, ImageMagick will look for gswin32c in your execution path.

Posted: 2007-01-22T13:29:08-07:00
by rhinst
Thanks, I upgraded to 6.3.2 and it found it right away.

Posted: 2007-01-22T13:36:05-07:00
by rhinst
Incidentally, is this documented anywhere? I'd like to know the name of the program if looks for in unix as well. Is it just gs ?