Variable: gnus-convert-image-to-face-command
gnus-convert-image-to-face-command is a customizable variable defined
in gnus-fun.el.gz.
Value
"convert -scale 48x48! %s -colors %d png:-"
Documentation
Command for converting an image to a Face.
The command must take an image filename (first format argument
"%s") and the number of colors (second format argument: "%d")
as input. The output must be the Face header data on stdout in
PNG format.
This variable was added, or its default value changed, in Emacs 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-fun.el.gz
(defcustom gnus-convert-image-to-face-command
"convert -scale 48x48! %s -colors %d png:-"
"Command for converting an image to a Face.
The command must take an image filename (first format argument
\"%s\") and the number of colors (second format argument: \"%d\")
as input. The output must be the Face header data on stdout in
PNG format."
:version "22.1"
:group 'gnus-fun
:type '(choice (const :tag "djpeg, netpbm (JPG input only)"
"djpeg %s | ppmnorm | pnmscale -width 48 -height 48 | ppmquant %d | pnmtopng")
(const :tag "convert"
"convert -scale 48x48! %s -colors %d png:-")
(string)))