Variable: eca-chat--media-type->image-type

eca-chat--media-type->image-type is a variable defined in eca-chat-image.el.

Value

(("image/png" . png) ("image/x-png" . png) ("image/jpeg" . jpeg)
 ("image/jpg" . jpeg) ("image/gif" . gif) ("image/webp" . webp)
 ("image/svg+xml" . svg))

Documentation

Mapping of MIME types to Emacs image-type symbols.

Formats that Emacs does not natively support (e.g. HEIC/HEIF) are intentionally absent so the renderer falls back to text.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-image.el
;;;; Media-type tables

(defconst eca-chat--media-type->image-type
  '(("image/png" . png)
    ("image/x-png" . png)
    ("image/jpeg" . jpeg)
    ("image/jpg" . jpeg)
    ("image/gif" . gif)
    ("image/webp" . webp)
    ("image/svg+xml" . svg))
  "Mapping of MIME types to Emacs `image-type' symbols.
Formats that Emacs does not natively support (e.g. HEIC/HEIF) are
intentionally absent so the renderer falls back to text.")