Page 1 of 1

-fuzz help

Posted: 2010-01-14T02:08:08-07:00
by Storm
I'm trying to compare two images, but I'm getting different results if I do it via the command prompt, or use a bat file. I don't see why there would be a difference, but I'm quite sure the -fuzz isn't working in the bat file, because the image created by it is exactly the same as when I do it via cmd and use no fuzz, it highlights too many differences.

This is my code

Code: Select all

compare.exe -fuzz 15% ..\img_back.gif ..\img_sec.gif ..\img_third.gif
So, could anyone shed some light on this problem?

Re: -fuzz help

Posted: 2010-01-14T10:50:30-07:00
by fmw42
I believe in Windows that % is a special character and may need to be %% or escaped properly. I am not a Windows user. But see the extensive notes on Windows IM processing at http://www.imagemagick.org/Usage/windows/

Re: -fuzz help

Posted: 2010-01-15T16:59:32-07:00
by Storm
That's it, it just needed a double %%

Thanks :D