Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to test imagemagick support in emacs

317 views
Skip to first unread message

claudius...@gmail.com

unread,
Aug 29, 2014, 5:39:16 PM8/29/14
to
Hello,

Is there a simple way to test if imagemagick support is working in my emacs install? I need to ensure that to track down a problem I have with org-mode with getting inline image scaling to work. As far as I know this function is based on imagemagick.

I'm using emacs 24.3-177.1 on openSUSE 13.1 (64 bit).

>ldd emacs | grep Magick

shows:

libMagickWand-6.Q16.so.1 => /usr/lib64/libMagickWand-6.Q16.so.1 (0x00007f396a498000)
libMagickCore-6.Q16.so.1 => /usr/lib64/libMagickCore-6.Q16.so.1 (0x00007f3969ff9000)

Thank you for any pointers!
Claudius

Michael Heerdegen

unread,
Aug 30, 2014, 6:13:42 PM8/30/14
to help-gn...@gnu.org
claudius...@gmail.com writes:

> Is there a simple way to test if imagemagick support is working in my
> emacs install? I need to ensure that to track down a problem I have
> with org-mode with getting inline image scaling to work. As far as I
> know this function is based on imagemagick.

I don't know much about it. AFAICT you need to eval something like

(setq image-type-header-regexps '((".*" . imagemagick)))

to be able to resize images in image-mode with imagemagick (for example,
from the "Image" menu). If resizing works for you when visiting an
image file, I guess your imagemagick support is ok.

Michael.


w20...@gmail.com

unread,
Feb 25, 2018, 6:04:36 PM2/25/18
to
M-x eval-expression RET (getenv "PATH") RET
Shoud return other than nil
0 new messages