Variable: image-dired-cmd-pngcrush-options

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

Value

("-q" "-text" "b" "Description" "Thumbnail of file://%f" "-text" "b" "Software" "GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu)" "-text" "b" "Thumb::MTime" "%m" "-text" "b" "Thumb::URI" "file://%f" "%q" "%t")

Documentation

Arguments for image-dired-cmd-pngcrush-program.

The value can use the same %-format specifiers as in image-dired-cmd-create-thumbnail-options, with "%q" for a temporary file name (typically generated by pnqnq).

This variable was added, or its default value changed, in Emacs 26.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-pngcrush-options
  `("-q"
    "-text" "b" "Description" "Thumbnail of file://%f"
    "-text" "b" "Software" ,(emacs-version)
    ;; "-text b \"Thumb::Image::Height\" \"%oh\" "
    ;; "-text b \"Thumb::Image::Mimetype\" \"%mime\" "
    ;; "-text b \"Thumb::Image::Width\" \"%ow\" "
    "-text" "b" "Thumb::MTime" "%m"
    ;; "-text b \"Thumb::Size\" \"%b\" "
    "-text" "b" "Thumb::URI" "file://%f"
    "%q" "%t")
  "Arguments for `image-dired-cmd-pngcrush-program'.
The value can use the same %-format specifiers as in
`image-dired-cmd-create-thumbnail-options', with \"%q\" for a
temporary file name (typically generated by pnqnq)."
  :version "26.1"
  :type '(repeat (string :tag "Argument")))