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.
source to share
-
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
orlibpng-devel
to get the header files on your system that are needed to compile ImageMagick with PNG support.
source to share