Makes a new, empty, image object.
graphics-ports
make-image port width height &key alpha => image
port⇩ |
A graphics port. |
width⇩ |
A positive integer. |
height⇩ |
A positive integer. |
alpha⇩ |
A generalized boolean. |
image⇩ |
An image object. |
The function make-image
makes a new blank, editable image object associated with port and of the given width and height.
On Windows and Cocoa, if alpha is true, then the image will have an alpha channel.
The initial pixels in image are undefined. image is editable, that is, it is suitable for use with the Image Access API. To set the pixels, see make-image-access.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44