mini_magick gem doesn't work with my ImageMagick install

后端 未结 3 1112
慢半拍i
慢半拍i 2021-01-14 23:30

I have the ImageMagick installed via MacPorts and the mini_magick gem and I get an error for the following script. How can I resolve this problem?

require \'         


        
相关标签:
3条回答
  • 2021-01-15 00:02

    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.

    0 讨论(0)
  • 2021-01-15 00:02

    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. :)

    0 讨论(0)
  • 2021-01-15 00: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...

    0 讨论(0)
提交回复
热议问题