Page 1 of 1

Imagemagick compare executable: unrecognized option `-metric

Posted: 2014-10-27T06:28:39-07:00
by truenrush
I tried to use

Code: Select all

apt-get install imagemagick
command to install ImageMagick on my debian wheezy. But when i try to diff images, i get following error:

Code: Select all

root@work:/home/tests/YAML_SHOTS/en-us# convert 1.png 2.png -metric RMSE -compare 3.png 
convert.im6: unrecognized option `-metric' @ error/convert.c/ConvertImageCommand/2060.
Seondly, i tried to install ImageMagic from binary source (described here: http://www.imagemagick.org/script/insta ... e.php#unix). But it does not install convert executable command.

How i can fix that?

P.S. If i remove -metric option, i get one more error:

Code: Select all

convert.im6: unrecognized option `-compare' @ error/convert.c/ConvertImageCommand/1107.

Re: Imagemagick compare executable: unrecognized option `-me

Posted: 2014-10-27T08:38:36-07:00
by fmw42
What version of IM are you using? If older than 6.8.6-9, then you need to upgrade IM or use compare rather than convert.