Install ImageMagick in linux

Source: Internet
Author: User
Install ImageMagick in linux-Linux general technology-Linux technology and application information. For details, refer to the following section. First download ImageMagick from the Internet
Official Website: www.imagemagick.org
Download from the official website: imagemagick.sourceforge.net

Download the package and decompress it.

./Configure? Prefix =/usr/local/imagemagick? Enable-lzw? With-modules & make install

Basically, this is enough. By default, images such as jpeg and png are supported. You can also join? Without-xxx is used to disable some options./configure? Help | grep.

It takes a long time to compile OK. Then you can test it.

/Usr/local/imagemagick/bin/convert-quality 90-resize 100x100/tmp/origine_image.jpg/tmp/small_100_100.jpg

In other words, the origine_image.jpg image in the/tmpdirectory is scaled to a size of 100 × 100 and saved in the/tmpdirectory. The file name is small_100_100.jpg, and the image quality is 90.

For more details, you will know when using it. You can also use php to edit imagemagick into a php module.

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.