ImageMagick no decode delegate

前端 未结 10 2573
囚心锁ツ
囚心锁ツ 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:06

    I had this error when rendering an image using DragonFly in Rails. This happened after I upgraded to Lion (ImageMagick was installed using Brew).

    I reinstalled ImageMagick, jpeg, libtiff and jasper (reinstalling ImageMagick wasn't enough by itself).

    brew uninstall imagemagick jpeg libtiff jasper
    brew install imagemagick
    

    Prior to that, running

    identify -list format
    

    and jpeg wasn't in the list. After reinstalling the above packages jpeg appeared in the list.

提交回复
热议问题