Install php-imagick by entering the following commands in the terminal:
sudo apt update sudo apt install php-imagick
Description:
Provides a wrapper to the ImageMagick library
Imagick is a native php extension to create and modify images using the ImageMagick API. This extension requires ImageMagick version 6.2.4+ and PHP 5.1.3+. . IMPORTANT: Version 2.x API is not compatible with earlier versions.
Homepage: http://pecl.php.net/package/imagick
Version: 3.4.3~rc2-2ubuntu4
Section: universe/php