clone-resized-image

Name

clone-resized-image -- Makes a new image from IMAGE of the given WIDTH and HEIGHT.

Synopsis

(clone-resized-image image width height #&optional bgcolor)

Description

Makes a new image from image of the given width and height. It does not scale image. If the resized image is smaller than the original, it is cropped; if larger, the extra space in the new image is filled with bgcolor. See also clone-scaled-image.

Implementation Notes

Module: Primitive from (app scwm background)

Defined in modules/background/background.c at line 74 (CVS log)