Imagemagick compare executable: unrecognized option `-metric

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
truenrush
Posts: 1
Joined: 2014-10-27T06:26:52-07:00
Authentication code: 6789

Imagemagick compare executable: unrecognized option `-metric

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

Re: Imagemagick compare executable: unrecognized option `-me

Post 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.
Post Reply