-fuzz help

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Storm

-fuzz help

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -fuzz help

Post 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/
Storm

Re: -fuzz help

Post by Storm »

That's it, it just needed a double %%

Thanks :D
Post Reply