Convert command not found

I was seeing this error from drupal logs:

1 User error: ImageMagick error 127: sh: convert: command not found in _imagemagick_convert_exec() (line 522 of /var/www/example.com/docroot/sites/all/modules/contrib/imagemagick/imagemagick.module).

Which indicates that package ImageMagick wasn't installed. Since the machine in questions was CentOS7, I installed it as follows:

1~$ sudo yum install ImageMagick -y

Ref: