diff options
author | Mark Oteiza <mvoteiza@udel.edu> | 2016-12-14 16:34:12 -0500 |
---|---|---|
committer | Mark Oteiza <mvoteiza@udel.edu> | 2016-12-14 16:34:12 -0500 |
commit | 53e8d7fb80d5c99b11906f100d9cb1ace358a0dc (patch) | |
tree | 7394c66c03d8f4e82a166f46cbb438f3a60599e1 /lisp/image-dired.el | |
parent | 66ccc65935c389942f1bc72e968846d8dab9951b (diff) | |
download | emacs-53e8d7fb80d5c99b11906f100d9cb1ace358a0dc.tar.gz |
Recognize pngnq or pngnq-s9
* lisp/image-dired.el (image-dired-cmd-pngnq-program): Also consider
pngnq-s9 as a possible executable.
Diffstat (limited to 'lisp/image-dired.el')
-rw-r--r-- | lisp/image-dired.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 066a9949166..61cf89c935d 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -255,9 +255,13 @@ is replaced by the file name of the temporary file." :type 'string :group 'image-dired) -(defcustom image-dired-cmd-pngnq-program (executable-find "pngnq") +(defcustom image-dired-cmd-pngnq-program + (or (executable-find "pngnq") + (executable-find "pngnq-s9")) "The file name of the `pngnq' program. -It quantizes colors of PNG images down to 256 colors." +It quantizes colors of PNG images down to 256 colors or fewer +using the Neuquant procedure." + :version "26.1" :type '(choice (const :tag "Not Set" nil) string) :group 'image-dired) |