Installation on Windows for classic ASP Development
Posted: 2011-05-13T09:30:53-07:00
Hello,
Can anyone direct me to where I can find step by step installation and configuration for ImageMagick on a Windows Server 2008 Machine running IIS 7. I am currently modifying a site written primarily in Classic ASP so I would like to use the ImageMagicObject therein. I've currently installed ImageMagic 6.6.9-8 but the object does not respond to anything. For Instance...
<%
Set objIM = Server.CreateObject("ImageMagickObject.MagickImage.1")
strOutput = objIM.Convert("a.jpg","b.png")
Set objIM = Nothing
%>
This test code, when run within an ASP renders no result what-so-ever. Not even an error. I've granted permissions the IUSR account on the imagemagick directory as well as the Windows Temp directory. Also, when I run this same convert command from the command line within the imagemagick directory, I get an error that says "Magick: unable to open image 'a.jpg': No such file or directory @ error/blob.c/OpenBlob/2587.
But the file IS there in the imagemagick directory.
I'm guessing I've installed this incorrectly. Any help would be appreciated.
Can anyone direct me to where I can find step by step installation and configuration for ImageMagick on a Windows Server 2008 Machine running IIS 7. I am currently modifying a site written primarily in Classic ASP so I would like to use the ImageMagicObject therein. I've currently installed ImageMagic 6.6.9-8 but the object does not respond to anything. For Instance...
<%
Set objIM = Server.CreateObject("ImageMagickObject.MagickImage.1")
strOutput = objIM.Convert("a.jpg","b.png")
Set objIM = Nothing
%>
This test code, when run within an ASP renders no result what-so-ever. Not even an error. I've granted permissions the IUSR account on the imagemagick directory as well as the Windows Temp directory. Also, when I run this same convert command from the command line within the imagemagick directory, I get an error that says "Magick: unable to open image 'a.jpg': No such file or directory @ error/blob.c/OpenBlob/2587.
But the file IS there in the imagemagick directory.
I'm guessing I've installed this incorrectly. Any help would be appreciated.