Mini_Magick Gem Doesn't Work with My Imagemagick Install

ImageMagick/GraphicsMagick is not installed for MiniMagick

I had the same Problem after updating gems- it seems that MiniMagick now forgets:

Default CLI is ImageMagick, but if you want to use GraphicsMagick, you
can specify it in configuration:

MiniMagick.configure do |config| config.cli = :graphicsmagick end

but puting config.cli = :imagemagick in config seemed to solve my problem

How to solve Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: You must have ImageMagick or GraphicsMagick installed

I've had this problem for like 48hrs now. I figured you just need to do exactly what it says, install ImageMagick. I did brew install imagemagick assuming you're on a Mac. My issue was that I was trying to seed image data(as URLs from a app/assets/images/ folder locally and that's when the error was popping up. Hope it helps.

ERROR Original Error: ImageMagick/GraphicsMagick is not installed

You need to install libmagickwand-dev in order to successfully complete the rmagick gem. Following command will do the job for you:

sudo apt-get install libmagickwand-dev

On a Mac, you would run the following command:

brew install imagemagick # it requires you to install Homebrew first.

Which is fast? Using minimagick gem in ruby or using direct system call convert (ImageMagick) in linux

It doensn't matter much, because MiniMagick uses the command line tool of ImageMagick as well, according to its Readme (it uses mogrify instead of convert).

So… the gem is probably more convenient, the command line probably just a bit faster (no overhead).



Related Topics



Leave a reply



Submit