From: Lars Ingebrigtsen Date: Sat, 30 Apr 2016 19:39:21 +0000 (+0200) Subject: Document how to check for ImageMagick support X-Git-Tag: emacs-25.1.90~169 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e0dd65cd444fd9e5ee6b5921936c6c829df75e50;p=emacs.git Document how to check for ImageMagick support * doc/lispref/display.texi (ImageMagick Images): Say how to check for ImageMagick support, which isn't quite obvious (bug#20702). This is backport from master (cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553) --- diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index d3e424853ad..68b48e0df91 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -5157,6 +5157,12 @@ Conveniences,,, emacs, The GNU Emacs Manual}). The image type symbol for images loaded via ImageMagick is @code{imagemagick}, regardless of the actual underlying image format. +To check for ImageMagick support, use the following: + +@lisp +(image-type-available-p 'imagemagick) +@end lisp + @defun imagemagick-types This function returns a list of image file extensions supported by the current ImageMagick installation. Each list element is a symbol