homebrew-imagemagick-x11 icon indicating copy to clipboard operation
homebrew-imagemagick-x11 copied to clipboard

macOS Homebrew tap: ImageMagick with X11 support

Homebrew ImageMagick with X11 support

This is a macOS Homebrew tap for ImageMagick with X11 support.

It tracks the upstream ImageMagick formula and enables the following:

  • X11 support
  • Graphviz support

Updated on a weekly basis thanks to Github Actions.

How do I install this?

brew uninstall imagemagick  # without X11 support
brew install --cask xquartz
brew install tlk/imagemagick-x11/imagemagick

Verify that it works

display wizard:
display myfile.jpg

Graphviz support

Note that ImageMagick has support for graphviz DOT-files if the --with-graphviz option is used during install:

brew uninstall imagemagick
brew install tlk/imagemagick-x11/imagemagick --with-graphviz
display mygraph.dot
convert mygraph.dot mygraph.png

(You may also be interested in https://github.com/jrfonseca/xdot.py - an interactive viewer for graphs.)

Updated every week

The formula is updated weekly which means that Homebrew will automatically build and install the latest version.

Background

  • https://github.com/Homebrew/homebrew-core/issues/49082
  • https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=37386
  • https://stackoverflow.com/a/59720020/936466