diff options
| author | Lars Ingebrigtsen | 2016-04-30 21:39:21 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 21:39:21 +0200 |
| commit | faf07d646575c78d6d956ce91820ebbf38308553 (patch) | |
| tree | b7df74ba21638470bc8708f0bf3b3788f4bb294c /doc | |
| parent | 970b82b2b2f3b880f3925cf0983cb2dd9efce015 (diff) | |
| download | emacs-faf07d646575c78d6d956ce91820ebbf38308553.tar.gz emacs-faf07d646575c78d6d956ce91820ebbf38308553.zip | |
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).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/display.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 28d00641df3..3673d114041 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -5145,6 +5145,12 @@ Conveniences,,, emacs, The GNU Emacs Manual}). The image type symbol | |||
| 5145 | for images loaded via ImageMagick is @code{imagemagick}, regardless of | 5145 | for images loaded via ImageMagick is @code{imagemagick}, regardless of |
| 5146 | the actual underlying image format. | 5146 | the actual underlying image format. |
| 5147 | 5147 | ||
| 5148 | To check for ImageMagick support, use the following: | ||
| 5149 | |||
| 5150 | @lisp | ||
| 5151 | (image-type-available-p 'imagemagick) | ||
| 5152 | @end lisp | ||
| 5153 | |||
| 5148 | @defun imagemagick-types | 5154 | @defun imagemagick-types |
| 5149 | This function returns a list of image file extensions supported by the | 5155 | This function returns a list of image file extensions supported by the |
| 5150 | current ImageMagick installation. Each list element is a symbol | 5156 | current ImageMagick installation. Each list element is a symbol |