compare & ASP classic
Posted: 2014-10-27T23:55:17-07:00
I have a (very) old client solution using ASP Classic on Windows Server 2003 R2, I have installed the latest 32bit distribution of imagemagick (downloaded today) as well as ghostscript.
I can compare from the command line with no issue whatsoever.
Why would the following then not give any output?
Set ImgObj = Server.CreateObject("ImageMagickObject.MagickImage.1")
strResult = ImgObj.compare("-metric", "RMSE", "D:\temp\Omni_1.pdf", "D:\temp\Omni_2.pdf", "null:", "2>&1")
response.write "Result: " & strResult
set ImgObj = nothing
I can compare from the command line with no issue whatsoever.
Why would the following then not give any output?
Set ImgObj = Server.CreateObject("ImageMagickObject.MagickImage.1")
strResult = ImgObj.compare("-metric", "RMSE", "D:\temp\Omni_1.pdf", "D:\temp\Omni_2.pdf", "null:", "2>&1")
response.write "Result: " & strResult
set ImgObj = nothing