Function: image-dired--thumb-size

image-dired--thumb-size is a byte-compiled function defined in image-dired-external.el.gz.

Signature

(image-dired--thumb-size &optional _)

Documentation

Return thumb size depending on image-dired-thumbnail-storage.

Aliases

image-dired-thumb-size(var)/image-dired-thumb-size(fun) (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired-external.el.gz
;;; Creating thumbnails

(defun image-dired--thumb-size (&optional _)
  "Return thumb size depending on `image-dired-thumbnail-storage'."
  (declare (advertised-calling-convention () "29.1"))
  (pcase image-dired-thumbnail-storage
    ('standard 128)
    ('standard-large 256)
    ('standard-x-large 512)
    ('standard-xx-large 1024)
    (_ image-dired-thumb-size)))