![xquartz mac xquartz mac](http://hpc.mediawiki.hull.ac.uk/images/3/3b/XQuartz_Complete.png)
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.
Xquartz mac install#
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: 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. 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 Note that things have changed a bit since I wrote this answer, Homebrew no longer supports installation options such as -with-x11.