diff options
| author | Lars Ingebrigtsen | 2016-04-30 21:39:21 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-23 16:44:28 +0300 |
| commit | e0dd65cd444fd9e5ee6b5921936c6c829df75e50 (patch) | |
| tree | 3662976ef164385a0c8b8aeaa2ae55ce37493251 | |
| parent | dc1e0ac761725931f23de13df4ef5020372a52a0 (diff) | |
| download | emacs-e0dd65cd444fd9e5ee6b5921936c6c829df75e50.tar.gz emacs-e0dd65cd444fd9e5ee6b5921936c6c829df75e50.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).
This is backport from master
(cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)
| -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 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 | |||
| 5157 | for images loaded via ImageMagick is @code{imagemagick}, regardless of | 5157 | for images loaded via ImageMagick is @code{imagemagick}, regardless of |
| 5158 | the actual underlying image format. | 5158 | the actual underlying image format. |
| 5159 | 5159 | ||
| 5160 | To check for ImageMagick support, use the following: | ||
| 5161 | |||
| 5162 | @lisp | ||
| 5163 | (image-type-available-p 'imagemagick) | ||
| 5164 | @end lisp | ||
| 5165 | |||
| 5160 | @defun imagemagick-types | 5166 | @defun imagemagick-types |
| 5161 | This function returns a list of image file extensions supported by the | 5167 | This function returns a list of image file extensions supported by the |
| 5162 | current ImageMagick installation. Each list element is a symbol | 5168 | current ImageMagick installation. Each list element is a symbol |