Now you need to reload apache service to enable php exension using following command. Install ImageMagick (Image Manipulation) Tool on RHEL/CentOS and Fedora. # echo "extension=imagick.so" > /etc/php.d/imagick.ini To install ImageMagick using apt, all you have to do is execute the following command: sudo apt update & sudo apt install imagemagick. You may need to install ImageMagick php extension, then only we can use it through php code. Install ImageMagick on Ubuntu using Apt (easy and recommended) If you dont care about having the latest version and want to get your job in the fastest and easiest way possible, this is for you. # convert -versionĬopyright: Copyright (C) 1999-2011 ImageMagickk Studio LLCĪfter installing ImageMagick package. To check ImageMagick has been installed on your system. # yum install ImageMagick ImageMagick-devel ImageMagick-perl Once you have installed the prerequisites, You may now install the ImageMagick package using yum. Note: Please remove php* from “ /etc/yum.conf ” if you are facing any issue with php-pear installation. Then you need to install php-pear, php-devel and gcc packages to compile imagick PHP extension. ~]# yum groupinstall " Development Tools" -y The installation is quite simple and assumes you are running in the root account, if not you may need to add sudo to the commands to get root privileges. Use the following command to install all development tools togather. which is version available through EPEL repository at the time of writing. It would return with the installed ImageMagick package version details. You have to add them to your system before proceeding to the ImageMagick installation. To verify the installation we can issue the following command in terminal convert -version. ImageMagick require certain development tools. By using ImageMagick, it is easy to read and write images in so many formats like GIF, JPEG, PNG, Postscript, and TIFF.ImageMagick is also used to resize, flip, mirror, rotate, distort, shear and transform images.This tutorial helps you to install ImageMagick in an easy method. ImageMagick is a free software suite used for editing, creating, composing, or converting bitmap images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |