Page 1 of 1

using imagemagick in vbs

Posted: 2012-10-16T02:27:56-07:00
by adelina
hi,
i want to use this comand : compare -metric RMSE file.tif file2.tif diff.tif 2> out.txt in vbs and i used this code:
set img= CreateObject("ImageMagickObject.MagickImage.1")
img.Compare "-metric", "RMSE", location & File1 & ."tif", location & File2 & ."tif",location & File1 & ."_" & File2 & ".tif", ">> out.txt"
But it doesn't work.

thanks