The Magic Wand Library doesn't work yet (as of 08/05/2022) with ImageMagick7. Download 6 via homebrew:
brew install imagemagick@6
It's not enough just to link. Find the executables by searching brew --prefix
. It'll be in Cellar
.
Grab the main directory of the whole package and write to zshrc
export MAGICK_HOME=/opt/homebrew/Cellar/imagemagick@6/6.9.12-60
Search the lib
folder in the package and find the dyld
files. These are shared libraries. List the suffices for LibMagickWand*.dylib
explicitly in an environment variable:
export WAND_MAGICK_LIBRARY_SUFFIX="-6.Q16;-6.Q16.7
Add the bin
to path:
export PATH=$PATH:$MAGICK_HOME/bin