I spent quite a bit of time looking for this problem, but to no avail, so I was hoping to get help here.
I am using Ubuntu 14.04 and I have installed php5-imagick, ImageMagick and some additional libraries for it to work. Testing the installation from the command line works fine, and all delegates are installed according to "convert -list configure" (the output is shown below).
He worked and worked perfectly. The only thing I can think of is some Ubuntu system / security updates. My code or installation of IM was changed by any user actions before this error occurred.
The problem is that I call Imagick from my PHP script, it shows this error:
#420: no decode delegate for this image format '/' @ error/constitute.c/ReadImage/544
This error is shown for both JPG and PNG.
Any help is much appreciated!
The output of 'convert -version':
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http:
The output of the "convert -list configure" command:
DELEGATES bzlib djvu fftw fontconfig freetype jbig jpeg jng jp2 lcms2 lqr lzma openexr pango png rsvg tiff x11 xml wmf zlib LIBS -lMagickCore -llcms2 -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfftw3 -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lm -lgomp -lpthread -lltdl
source share