Install and deploy ImageMagick on centos7

Source: Internet
Author: User
Tags imagemagick
Install and deploy ImageMagick on centos7
# cat /etc/redhat-releaseCentOS Linux release 7.5.1804 (Core)
Install Basic Package
# yum install -y libjpeg* libpng* libtiff* libungif* freetype zlib
Introduction to ImageMagick

ImageMagick is a software suite used to create, edit, combine, or convert bitmap images. It can read and write images in various formats, such as GIF, JPEG, PNG, postscript, And Tiff. We can also use ImageMagick to resize, flip, mirror, rotate, twist, cut and convert images, adjust image colors, and apply various effects, you can also draw text, lines, polygon, oval, and SEL curves.

ImageMagick generally comes from the command line. We can also use it in any programming language, such as magick. This article will help you install ImageMagick on centos and RHEL servers.

Download ImageMagick and download the appropriate ImageMagick version.

ImageMagick:

# wget  http://www.imagemagick.org/download/ImageMagick-7.0.8-14.tar.gz 
Install ImageMagick
# mkdir -p /opt/ImageMagick# cd /tmp# tar -zxf ImageMagick-7.0.8-14.tar.gz -C /opt/ImageMagick# cd /opt/ImageMagick/ImageMagick-7.0.8-14# ./configure# make && make install
Test whether the installation is successful
# wget -O /tmp/google_test.jpg https://ws1.sinaimg.cn/large/006tNbRwgy1fwq90vzdgaj31b60dqmye.jpg# convert google_test.jpg google_test.png
View supported formats
 identify -list format
References

Official ImageMagick website
ImageMagick
ImageMagick + PHP + apahe

Install and deploy ImageMagick on centos7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.