Function: image-dired-thumb-size

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

Signature

(image-dired-thumb-size DIMENSION)

Documentation

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

DIMENSION should be either the symbol width or height.

Source Code

;; Defined in /usr/src/emacs/lisp/image-dired.el.gz
(defun image-dired-thumb-size (dimension)
  "Return thumb size depending on `image-dired-thumbnail-storage'.
DIMENSION should be either the symbol `width' or `height'."
  (cond
   ((eq 'standard image-dired-thumbnail-storage) 128)
   ((eq 'standard-large image-dired-thumbnail-storage) 256)
   (t (cl-ecase dimension
        (width image-dired-thumb-width)
        (height image-dired-thumb-height)))))