I'll have to get that Magic 8-Ball checked. Maybe I need a Magick 8-Ball.
-----Original Message-----
From: graphicsmagick-help-***@lists.sourceforge.net
[mailto:graphicsmagick-help-***@lists.sourceforge.net]On Behalf Of Paul
Pritchard
Sent: Friday, June 27, 2003 9:25 PM
To: graphicsmagick-***@lists.sourceforge.net
Subject: Re: [GM-help] Odd problem with ImageMagickObject and GS
Both servers have that registry key "not present".
Is there a different version of GS I should be using?
--Paul
----- Original Message -----
From: Hugh Brackett
To: graphicsmagick-***@lists.sourceforge.net
Sent: Friday, June 27, 2003 4:49 PM
Subject: RE: [GM-help] Odd problem with ImageMagickObject and GS
The amazing Carnac predicts:
Server A has
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Always
UnloadDLL = 1 (DWORD)
Server B has
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Always
UnloadDLL = 0 or not present
(the amazing Carnac is only guessing)
Cross checked with Magic 8-Ball: "You may rely on it."
I pretty regularly see advice to stay away from GS 8.
May your processors multiply without exception.
-----Original Message-----
From: graphicsmagick-help-***@lists.sourceforge.net
[mailto:graphicsmagick-help-***@lists.sourceforge.net]On Behalf Of Paul
Pritchard
Sent: Friday, June 27, 2003 4:52 PM
To: graphicsmagick-***@lists.sourceforge.net
Subject: [GM-help] Odd problem with ImageMagickObject and GS
I'm having trouble understand what's happening here. Here's what I'm
doing.
1) I'm testing on two different servers running Windows 2000 and IIS.
I have installed the complete GraphicsMagick package on both servers
(GraphicsMagick-1.0.2-Q8-windows-static.exe) and the GhostSript package
(gs800w32.exe).
2) I have an ASP script that uses the ImageMagickObject to resize a
file:
<%
Set objImage = Server.CreateObject("ImageMagickObject.MagickImage.1")
strMsg = objImage.Convert("d:\temp\test.gif", "-resize", "120x120",
"-format", "gif", "d:\temp\new.gif")
Set objImage = Nothing
%>
3) The above works fine on both servers.
4) I then try doing the same conversion, but with an EPS file:
<%
Set objImage = Server.CreateObject("ImageMagickObject.MagickImage.1")
strMsg = objImage.Convert("d:\temp\test.eps", "-resize", "120x120",
"-format", "gif", "d:\temp\new.gif")
Set objImage = Nothing
%>
5) This works fine on server A. On server B, it works fine once, but
thereafter throws an exception (apparently, an unhandled exception). If I
stop and restart IIS, it works again, one time, then starts throwing
exceptions.
6) When I run the same conversion from the command line using GM.EXE,
or with a VBS script, it works fine. So I know it's not an issue with the
configuration of GS or the ImageMagickObject.
So based on this, I'm assuming it's some kind of problem with GS, or
with the ImageMagickObject's calls to GS, and has something to do with
running under IIS/ASP. What's weird is that it's OK on one server but not
on the other. I've looked for differences in the configurations of the
servers but haven't found anything that will fix the problem.
I'm pulling my hair out over this one! Any help or suggestions would
be very much appreciated.
--Paul