Function: shr--image-type
shr--image-type is a byte-compiled function defined in shr.el.gz.
Signature
(shr--image-type)
Documentation
Emacs image type to use when displaying images.
If Emacs has native image scaling support, that's used, but if
not, imagemagick is preferred if it's present.
Source Code
;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defun shr--image-type ()
"Emacs image type to use when displaying images.
If Emacs has native image scaling support, that's used, but if
not, `imagemagick' is preferred if it's present."
(if (or (and (fboundp 'image-transforms-p)
(image-transforms-p))
(not (fboundp 'imagemagick-types)))
nil
'imagemagick))