Variable: image-dired-cmd-create-standard-thumbnail-options

image-dired-cmd-create-standard-thumbnail-options is a customizable variable defined in image-dired-external.el.gz.

Value

("-size" "%wx%h" "%f[0]" "-set" "Thumb::MTime" "%m" "-set" "Thumb::URI" "file://%f" "-set" "Description" "Thumbnail of file://%f" "-set" "Software" "GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu)" "-thumbnail" "%wx%h>" "png:%t")

Documentation

Options for creating thumbnails according to the Thumbnail Managing Standard.

The value can use the same %-format specifiers as in image-dired-cmd-create-thumbnail-options, with "%m" for file modification time.

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-create-standard-thumbnail-options
  (let ((opts (list
               "-size" "%wx%h" "%f[0]"
               "-set" "Thumb::MTime" "%m"
               "-set" "Thumb::URI" "file://%f"
               "-set" "Description" "Thumbnail of file://%f"
               "-set" "Software" (emacs-version)
               "-thumbnail" "%wx%h>" "png:%t")))
    (if (executable-find "gm") (cons "convert" opts) opts))
  "Options for creating thumbnails according to the Thumbnail Managing Standard.
The value can use the same %-format specifiers as in
`image-dired-cmd-create-thumbnail-options', with \"%m\" for file
modification time."
  :type '(repeat (string :tag "Argument"))
  :version "29.1")