Install ImageMagick and JMagick in Linux

Source: Internet
Author: User
Tags imagemagick
Install and organize ImageMagick and JMagick in Linux-general Linux technology-Linux programming and kernel information. For details, refer to the following. Examples, libpng-1.2.10.tar.bz2and later -3.8.2.tar.gz. Users support jpg, png, and tiff files. I really don't know what foreigners think. There shouldn't be many applications that do not support jpg and png image processing, why not put them together and install them separately.

Compile and install Jpg files,

Tar zvxf restart src.v6b.tar.gz

./Configure -- enable-shared -- enable-static

Make

Su

Make install

Install png support files

Bunzip2 libpng-1.2.10.tar.bz2

Tar xvf libpng-1.2.10.tar

./Configure

Make

Su

Make install

Compile and install tiff support files

Compile and install Jpg files,

Tar zvxf tiff-3.8.2.tar.gz

./Configure

Make

Su

Make install

Modify the configure configuration file of ImageMagick

-- Without-jpeg = false disable JPEG support

-- Without-png = false disable PNG support

-- Without-tiff = false disable TIFF support

Compile and install ImageMagick

Tar zvxf ImageMagick-6.2.6-8.tar.gz

./Configure

Make all

Su

Make install

Use convert to check whether files can be converted

Compile and install JMagick

Tar zvxf JMagick-6.2.6-0.tar.gz

./Configure

Make

Su

Make install

Configure the current user's configuration file. bash_profile, you can also configure all users/etc/profile

Add

LD_LIBRARY_PATH =/usr/local/lib:.../../lib:

Export LD_LIBRARY_PATH

And configure the classpath directory

Installation Complete
Related Article

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.