I want to use emacs with imagemagick to enable dynamic resizing of images in org-mode (https://www.reddit.com/r/emacs/comments/44id5o/how_to_install_emacs_with_imagemagick_support/). This used to work before I decided to upgrade homebrew.
I have installed imagemagick with homebrew, and it seems to work because I have a working
$ convert --version
Version: ImageMagick 7.0.4-5 Q16 x86_64 2017-01-23 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib cairo fftw fontconfig freetype jng jpeg ltdl lzma png rsvg tiff x xml zlib
I then installed emacs with homebrew on mac, using the following command:
brew install emacs --with-cocoa --with-gnutls --with-librsvg --with-imagemagick
The installation completes without issues. Starting emacs works fine, and I use exec-path-from-shell in my .emacs to get the right PATH:
:if (eq system-type 'darwin)
This seems to work, since the command
M-: (getenv "PATH")
However, the images in my org mode file do not resize properly (which they used to before I decided to upgrade homebrew, forcing me to reinstall emacs). Checking if imagemagick works by running the following command just returns
M-: (image-type-available-p 'imagemagick) RET
What am I missing?