Function: svg-embed-base-uri-image
svg-embed-base-uri-image is a byte-compiled function defined in
svg.el.gz.
Signature
(svg-embed-base-uri-image SVG RELATIVE-FILENAME &rest ARGS)
Documentation
Insert image placed at RELATIVE-FILENAME into the SVG structure.
RELATIVE-FILENAME will be searched in file-name-directory of the
image's :base-uri property. If :base-uri is not specified for the
image, then embedding won't work. Embedding large images using this
function is much faster than svg-embed.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/svg.el.gz
(defun svg-embed-base-uri-image (svg relative-filename &rest args)
"Insert image placed at RELATIVE-FILENAME into the SVG structure.
RELATIVE-FILENAME will be searched in `file-name-directory' of the
image's `:base-uri' property. If `:base-uri' is not specified for the
image, then embedding won't work. Embedding large images using this
function is much faster than `svg-embed'."
(svg--append
svg
(dom-node
'image
`((xlink:href . ,relative-filename)
,@(svg--arguments svg args)))))