I've attempted installing with brew:
brew install imagemagick
The installation seems to have completed successfully. However, when attempting to:
use Image::Magick;
I get the following error message:
Can't locate Image/Magick.pm in @INC
I don't know much about the perl system on a mac, or where brew might have installed Image::Magick (I'm told it should have installed the perl libraries as part of the imagemagick install).
If ImageMagick is installed via MacPorts, then the convert command lives in /opt/local/bin/. It is this directory that needs to get on the PATH environment variable.
Congratulations, you have a working ImageMagick distribution under Mac OS X and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others. ~Claudio provides iOS builds of ImageMagick.
Finally, to verify ImageMagick is working properly, type the following on the command line: Note, the display program requires the X11 server available on your Mac OS X installation DVD. Once that is installed, you will also need to set export DISPLAY=:0. The best way to deal with all the exports is to put them at the end of your .profile file
A minimum of 512 MB of RAM is recommended, but the more RAM the better. Although ImageMagick runs well on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably. The Windows version of ImageMagick is self-installing.
brew install imagemagick ImageMagick depends on Ghostscript fonts. To install them, type: brew install ghostscript The brew command downloads and installs ImageMagick with many of its delegate libraries (e.g. JPEG, PNG
AFAIK homebrew
version of ImageMagick doesn't contain perl-magick. You should install it from the sources:
All the above is guessing - I'm using MacPorts. MacPorts has two ports: ImageMagick
for the basic ImageMagick and p5-perlmagick
for the perl bindings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With