php - Imagick - no decode delegate for this image format -
i trying convert pngs gif using imagemagick on ubuntu server. used php code generate when ran it, received..
php fatal error: uncaught exception 'imagickexception' message 'no decode delegate image format
fatal error: uncaught exception 'imagickexception' message 'no decode delegate image format
then used: convert -list configure, on libs, didn't see either gif or png. researched bit more, , found should remove , re-install imagick..
so tried sudo apt-get remove imagemagick, , then..
sudo apt-get install libperl-dev gcc libjpeg-dev libbz2-dev libtiff4-dev libwmf-dev libz-dev libpng12-dev libx11-dev libxt-dev libxext-dev libxml2-dev libfreetype6-dev liblcms1-dev libexif-dev perl libjasper-dev libltdl3-dev graphviz pkg-config
after completed installing, used wget http://www.imagemagick.org/download/binaries/imagemagick-x86_64-apple-darwin15.0.0.tar.gz , got latest version.
but then, got totally lost. uncompressed using tar -xzf imagemagick-x86_64-apple-darwin15.0.0.tar.gz. expecting find ./configure in here, couldn't.
what missing or doing wrong? out of track?
you downloaded ios binaries instead of sources. need sources if want compile them hand:
http://www.imagemagick.org/download/imagemagick-6.9.3-0.tar.gz
with file able compile imagemagick whatever image formats want.
http://www.imagemagick.org/script/install-source.php
edit: step-by-step instructions
wget http://www.imagemagick.org/download/imagemagick-6.9.3-0.tar.gz tar xvzf imagemagick-6.9.3-0.tar.gz cd imagemagick-6.9.3-0 ./configure make sure output of previous command shows this:
png --with-png=yes yes and then:
make sudo make install sudo ldconfig /usr/local/lib
Comments
Post a Comment