Variable: image-dired-cmd-pngnq-options

image-dired-cmd-pngnq-options is a customizable variable defined in image-dired-external.el.gz.

Value

("-f" "%t")

Documentation

Arguments to pass to image-dired-cmd-pngnq-program.

Value can use the same format specifiers as in image-dired-cmd-create-thumbnail-options.

This variable was added, or its default value changed, in Emacs 29.1.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired-external.el.gz
(defcustom image-dired-cmd-pngnq-options
  (if (executable-find "pngquant")
      '("--ext" "-nq8.png" "%t") ; same extension as "pngnq"
    '("-f" "%t"))
  "Arguments to pass to `image-dired-cmd-pngnq-program'.
Value can use the same format specifiers as in
`image-dired-cmd-create-thumbnail-options'."
  :type '(repeat (string :tag "Argument"))
  :version "29.1")