Function: gnus-x-face-from-file

gnus-x-face-from-file is an autoloaded, interactive and byte-compiled function defined in gnus-fun.el.gz.

Signature

(gnus-x-face-from-file FILE)

Documentation

Insert an X-Face header based on an image FILE.

Depending on gnus-convert-image-to-x-face-command it may accept different input formats.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-fun.el.gz
;;;###autoload
(defun gnus-x-face-from-file (file)
  "Insert an X-Face header based on an image FILE.

Depending on `gnus-convert-image-to-x-face-command' it may accept
different input formats."
  (interactive "fImage file name: ")
  (when (file-exists-p file)
    (gnus-shell-command-to-string
     (format gnus-convert-image-to-x-face-command
	     (shell-quote-argument (expand-file-name file))))))