Compare using COM from VBS returns a null value?
Posted: 2011-12-22T14:37:34-07:00
Hoping someone can help me out.
This is essentially what I am doing. Using COM to do an image comparison between two images. The problem is myFuzz isn't returning anything when I use COM via VBS. Any idea why? When I do an img.Convert I get a string back, just not with img.Compare.
Set img = CreateObject("ImageMagickObject.MagickImage.1")
myFuzz = img.Compare("-metric","AE", "image1.png", "image2.png", "output.png")
MsgBox myFuzz
Any help would be much appreciated.
Note, the output.png is being created, so I know I am not getting an error.
This is essentially what I am doing. Using COM to do an image comparison between two images. The problem is myFuzz isn't returning anything when I use COM via VBS. Any idea why? When I do an img.Convert I get a string back, just not with img.Compare.
Set img = CreateObject("ImageMagickObject.MagickImage.1")
myFuzz = img.Compare("-metric","AE", "image1.png", "image2.png", "output.png")
MsgBox myFuzz
Any help would be much appreciated.
Note, the output.png is being created, so I know I am not getting an error.