Function: thumbs-thumbname

thumbs-thumbname is a byte-compiled function defined in thumbs.el.gz.

Signature

(thumbs-thumbname IMG)

Documentation

Return a thumbnail name for the image IMG.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/thumbs.el.gz
(defun thumbs-thumbname (img)
  "Return a thumbnail name for the image IMG."
  (convert-standard-filename
   (let ((filename (expand-file-name img)))
     (format "%s%08x-%s.jpg"
             (thumbs-thumbsdir)
             (sxhash filename)
             (subst-char-in-string
              ?\s ?\_
              (apply
               #'concat
               (split-string filename "/")))))))