I\'m trying to convert an image with imagemagick, but I\'m getting this error:
convert: no decode delegate for this image format `//i.imgur.com/nTheJ.
i had the problem and i forgot put to obj downloaded photo against i put path.
file_get_contents($pathToPhoto)
maybe someone help :[
I have encountered a similar problem with TIFF files on ImageMagick v7.0.4-5 on Windows 7.
If this question concerns a Windows OS, then the cause is that Windows can't find the Jpeg (in my case, TIFF) file library (DLL).
I had installed ImageMagick without adding it to the Windows $PATH
.
This resulted in error
identify: unable to load module 'C:\Program Files\ImageMagick-7.0.4-Q16\modules\coders\IM_MOD_RL_TIFF_.dll':
The specified module could not be found.
@ error/module.c/OpenModule/1279.
identify: no decode delegate for this image format `TIFF'
@ error/constitute.c/ReadImage/509.
$PATH
, so that it can find libtiff
. Restart your command shell as well.cd
into ImageMagick's install folder before executing it.on Ubuntu 16, I had to install the following first (this was not a dev machine but a server):
sudo apt-get install autoconf automake autotools-dev libtool pkg-config
then to enable the PNG and JPG delegates :
sudo apt-get install libpng12 libpng12-dev libjpeg libjpeg-dev
followed by
./configure
(Which should now show that the delegates are enabled)
and then rebuild (make clean && make
then sudo make install
)
substitude the ×
in -resize 600×600
with a capital X
and it should work.
-resize 600X600