Please install ImageMagick UBUNTU code example
Example 1: ubuntu install imagemagick
Ubuntu : sudo apt install imagemagick
Example 2: how to install imagemagick in linux
Download: https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz
cd ImageMagick-7.0.10
./configure
make
./configure --with-modules
sudo make install
sudo ldconfig /usr/local/lib
make check
#Done its easy.
#By Sailendra Chettri.
#Source: https://imagemagick.org/script/install-source.php#unix