Variable: image-dired-cmd-rotate-thumbnail-options

image-dired-cmd-rotate-thumbnail-options is a customizable variable defined in image-dired.el.gz.

This variable is obsolete since 29.1.

Value

("-rotate" "%d" "%t")

Documentation

Arguments of command used to rotate thumbnail image.

Used with image-dired-cmd-rotate-thumbnail-program. Available format specifiers are: %d which is replaced by the number of (positive) degrees to rotate the image, normally 90 or 270
(for 90 degrees right and left), %t which is replaced by the file name
of the thumbnail file.

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.el.gz
(defcustom image-dired-cmd-rotate-thumbnail-options
  (let ((opts '("-rotate" "%d" "%t")))
    (if (executable-find "gm") (cons "mogrify" opts) opts))
  "Arguments of command used to rotate thumbnail image.
Used with `image-dired-cmd-rotate-thumbnail-program'.
Available format specifiers are: %d which is replaced by the
number of (positive) degrees to rotate the image, normally 90 or 270
\(for 90 degrees right and left), %t which is replaced by the file name
of the thumbnail file."
  :version "29.1"
  :type '(repeat (string :tag "Argument")))