Variable: image-dired-cmd-pngnq-program
image-dired-cmd-pngnq-program is a customizable variable defined in
image-dired-external.el.gz.
Value
nil
Documentation
The file name of the pngquant or pngnq program.
It quantizes colors of PNG images down to 256 colors or fewer using the NeuQuant algorithm.
This variable was added, or its default value changed, in Emacs 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-dired-external.el.gz
(defcustom image-dired-cmd-pngnq-program
;; Prefer pngquant to pngnq-s9 as it is faster on my machine.
;; The project also seems more active than the alternatives.
;; Prefer pngnq-s9 to pngnq as it fixes bugs in pngnq.
;; The pngnq project seems dead (?) since 2011 or so.
(or (executable-find "pngquant")
(executable-find "pngnq-s9")
(executable-find "pngnq"))
"The file name of the `pngquant' or `pngnq' program.
It quantizes colors of PNG images down to 256 colors or fewer
using the NeuQuant algorithm."
:version "29.1"
:type '(choice (const :tag "Not Set" nil) file))