Function: thumbs-new-image-size
thumbs-new-image-size is a byte-compiled function defined in
thumbs.el.gz.
Signature
(thumbs-new-image-size S INCREMENT)
Documentation
New image (a cons of width x height).
Source Code
;; Defined in /usr/src/emacs/lisp/thumbs.el.gz
(defun thumbs-new-image-size (s increment)
"New image (a cons of width x height)."
(let ((d (* increment thumbs-image-resizing-step)))
(cons
(round (+ (car s) (/ (* d (car s)) 100)))
(round (+ (cdr s) (/ (* d (cdr s)) 100))))))