Function: shr-get-image-data
shr-get-image-data is a byte-compiled function defined in shr.el.gz.
Signature
(shr-get-image-data URL)
Documentation
Get image data for URL.
Return a string with image data.
Source Code
;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defun shr-get-image-data (url)
"Get image data for URL.
Return a string with image data."
(with-temp-buffer
(set-buffer-multibyte nil)
(when (ignore-errors
(url-cache-extract (url-cache-create-filename (shr-encode-url url)))
t)
(when (re-search-forward "\r?\n\r?\n" nil t)
(shr-parse-image-data)))))