ImageMagick error

前端 未结 5 1240
甜味超标
甜味超标 2021-02-04 01:19

When trying to run ImageMagick via node-imagemagick on my Grunt task, i get this error from ImageMagick:

Warning: Command failed: identify: unable to load

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-04 01:47

    This is what finally worked for me after a bunch of installs and uninstalls. I removed and reinstalled imagemagick with these options

    brew install imagemagick --with-fontconfig --with-ghostscript --with-libtiff --with-webp

    I am only using jpeg and png for now, and am not sure how these options help, but worth a try.

提交回复
热议问题