I wish to display org mode inline image (in emacs) with width 400 but actually it always show it as original size.
My steps as below:
- Install ImageMagick with below command:
sudo port install imagemagick
Install emacs with below command:
brew install emacs --HEAD --use-git-head --cocoa --with-gnutls --with-rsvg --with-imagemagick
Then I check it, emacs version isGNU Emacs 26.0.50.1
, but(image-type-available-p 'imagemagick)
result isnil
Edit ~/.emacs.d/init.el to add below line:
(setq org-image-actual-width nil)
- Write below org code in test.org:
#+ATTR_ORG: :width 400
[[file:test.png]]
5. After run C-c C-x C-v
,Image not displayed as 400 but actual size.