cli compare command stuck the PC
Posted: 2010-07-01T05:36:04-07:00
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
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