mini_magick gem doesn't work with my ImageMagick install

馋奶兔 提交于 2019-12-01 10:42:07

Try reinstall ImageMagick, if you use Mac OS X:

brew uninstall imagemagick jpeg libtiff jasper
brew install imagemagick

For check if JPG format is now available:

identify -list format | grep JPG

This will return the available formats JPG...

It appears as though MiniMagick can't understand the file. See this comment in the source:

Checks to make sure that MiniMagick can read the file and understand it.

This uses the 'identify' command line utility to check the file. If you are having issues with this, then please work directly with the 'identify' command and see if you can figure out what the issue is.

In my case it broke after installing ghostscript, through homebrew. I think ghostscript installed some ImageMagick dependency and broke it. Reinstalling ImagEMagick fixed the issue. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!