ImageMagick no decode delegate

前端 未结 10 2563
囚心锁ツ
囚心锁ツ 2020-11-30 01:59

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.

10条回答
  •  感动是毒
    2020-11-30 02:19

    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)

提交回复
热议问题