ImageMagick and PNG

I am trying to install ImageMagick but is libpng

not used every time .

When I run

identify -version

      

png

does not appear in the list.

I am trying to install ImageMagick correctly using these commands:

./configure --enable-shared
make libdir=/usr/lib64
make libdir=/usr/lib64 install
./configure --enable-shared=yes --x-libraries=/usr/lib64 --without-perl
make
make install

      

after being libpng

in /usr/lib64

on my system.

But after

make libdir=/usr/lib64 install

      

I always have this

 DELEGATES       = bzlib mpeg freetype jpeg lcms ps tiff x zlib

      

and no png

.

I'm still in trouble. I don't know where my mistake is.

I am working on CentOS 6.6.

+3


source to share


2 answers


  • Try adding --with-modules

    to your preferences.

  • Also, check the command output ./configure ...

    for error and warning messages.

  • Most Linux distributions install runtime libraries separately from compilation header files. You may need to install an additional package named libpng-dev

    or libpng-devel

    to get the header files on your system that are needed to compile ImageMagick with PNG support.



+3


source


Your recommendations worked for me.

Requires libpng-devel and add png to delegate lines.



Thank you for your help.

0


source







All Articles