Claudius Mueller <claudius.muel...@gmail.com> writes: > Thank you for pointing this out. I compiled emacs 24.3 with > imagemagick support: > > "ldd /usr/local/bin/emacs | grep Magick" ====> > libMagickWand-6.Q16.so.1 => /usr/lib64/libMagickWand-6.Q16.so.1 > (0x00007f3946278000) > libMagickCore-6.Q16.so.1 => /usr/lib64/libMagickCore-6.Q16.so.1 > (0x00007f3945dd9000) > > However, inline images are still not scaled at all if I include: > > (setq org-image-actual-width 50) > > in my .emacs file. > > Any other ideas of what I am doing wrong? >
Maybe check your *Messages* buffer for errors? FWIW, it works fine here with the following file: --8<---------------cut here---------------start------------->8--- * Inline images This is a test: [[file:hello-world.png]] #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r +--------------+ | | | Hello World! | | | +--------------+ #+END_SRC #+RESULTS: [[file:hello-world.png]] * image width #+BEGIN_SRC emacs-lisp (setq org-image-actual-width 50) #+END_SRC #+BEGIN_SRC emacs-lisp (setq org-image-actual-width 500) #+END_SRC --8<---------------cut here---------------end--------------->8--- Depending on which emacs-lisp source block I evaluate, when I do C-c C-x C-v afterwards, I get small images or large images. Version info: Fedora 20 GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-08-11 Org-mode version 8.3beta (release_8.3beta-270-g4dd9f3.dirty @ /home/nick/elisp/org-mode/lisp/) Nick > Thank you very much for your help! > Claudius > > On 08/28/2014 07:50 PM, Charles Philip Chan wrote: >> On 28 Aug 2014, claudius.muel...@gmail.com wrote: >> >>> I am using emacs 24.3 in openSUSE 13.1. I have not compiled emacs >>> myself, but the core imagemagick libraries are part of the >>> dependencies, which makes me assume that it's been compiled with >>> imagemagick support. >> No, the Emacs in OpenSuSE 13.1 is not compiled with Image Magick >> support- "ldd /usr/bin/emacs | grep Magick" produces nothing. Where as, >> this is the output of my self-compiled version. >> >> ,----[ ldd /usr/local/bin/emacs | grep Magick ] >> | libMagickWand-6.Q16.so.1 => /usr/lib64/libMagickWand-6.Q16.so.1 >> (0x00007fe7e8072000) >> | libMagickCore-6.Q16.so.1 => /usr/lib64/libMagickCore-6.Q16.so.1 >> (0x00007fe7e7bd3000 >> `---- >> >>> I can display inline images of several file types just fine (tif, png, >>> gif, ...). >> This is because Emacs is using libtiff, libjpeg, libpng, libxpm etc. >> >> Charles >> > > > -- Nick