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 faf07d6465)
This commit is contained in:
Lars Ingebrigtsen 2016-04-30 21:39:21 +02:00 committed by Eli Zaretskii
parent dc1e0ac761
commit e0dd65cd44

View file

@ -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