
I am working from memory and not sitting at my iMac. Anyhow, try executing these commands from Terminal on your Mac. I did not rebuild XQuartz, I just downloaded the latest release.
#Update xquartz mac terminal install
If you have been trying for ages to install ImageMagick, you may have left some old versions lying around. Yes, as VikingOSX noted, it is quite old as software goes, which concerns me. The easiest way to do this is first to ensure that old versions of ImageMagick are removed and cleaned up and that you then install (or re-install) with the latest version: brew update # update homebrew itselfīrew rm imagemagick # remove old IM versionsīrew install imagemagick -with-x11 # install latest IM version including X11 support Install Xcode and the Xcode Command Line Tools Agree to Xcode license in Terminal: sudo xcodebuild -license Install MacPorts for your version of the Mac. Step 2 - Ensure ImageMagick is correctly installed You can do this with: xcode-select -install It is important that your developer tools are up-to-date, especially if you have updated your macOS version since setting them up originally.

Step 1 - Install or update Xcode command line tools In general, to use ImageMagick with X11, you will probably be most likely to succeed if you follow the following steps: Always take extra care when using the sudo. That converts any file formats that ImageMagick knows into a PNG which the Preview app understands and should be able to represent most images, even those with 16-bit depth and transparency. Use of the sudo command requires that you have administrator privileges on your Mac. Then I edited that file and added a line very close to the end, but just above the last line like this: I used this: magick -list delegate | awk '/^Path/ 'Īnd mine is at: /opt/homebrew/Cellar/imagemagick/7.1.0-16/etc/ImageMagick-7/delegates.xml This means you can do things like: magick SomeImage.png -crop 100x100+10+10 display:įor this to work, you need to find your delegates.xml file. configure -disable-osx-universal-binary -prefix=/usr/local/Cellar/imagemagick/7.0.8-66 -disable-silent-rules -with-x11Īnother option that occurred to me was that, rather than installing all of XQuartz, you could just add your own delegate that uses macOS's built-in Preview app and tell ImageMagick to use that, i.e. One possibility, pointed out in the comments by was to install ImageMagick interactively: brew install imagemagick -i If needed, additional information about installing XQuartz can be found through the XQuartz project web site. 3.) Unpack and run the XQuartz installer as a user with Admin privileges.
#Update xquartz mac terminal mac os
2.) Download the XQuartz installer for your version of Mac OS X.

Note that things have changed a bit since I wrote this answer, Homebrew no longer supports installation options such as -with-x11. To obtain and install XQuartz: 1.) Go to the website:.
