cli compare command stuck the PC

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
erezs

cli compare command stuck the PC

Post by erezs »

hi,
i am running ImageMagick 6.6.1-Q16 on winXP
i am using a cli command to compare image ( and get PSNR results )
most of the time ( when there are no big difference ) it works very good.

my problem start wen i compare images that are not in the same size of thy are totally not equal.

i am running the following cli command:
compare <ref_imge1> <test_img2> <diff_img3>
or:
compare -metric PSNR <ref_imge1> <test_img2> <diff_img3>

my problem is that sometimes this command is stuck my PC ( cpu =98%) and never end.
i try -fuzz switch but with no luck.
if images are not equal - it's OK for the application to throw exception or any other error/warning , but to stuck the pc is
not an option form me.

please help me on this.
Thanks in advanced for your support
Erezs
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: cli compare command stuck the PC

Post by snibgo »

Compare has never hung on me. Try posting URLs to files that give this problem.
snibgo's IM pages: im.snibgo.com
Post Reply