Gets the pixel values from an image.
graphics-ports
image-access-transfer-from-image image-access
image-access⇩ |
An Image Access object. |
The function image-access-transfer-from-image
gets the pixel values from an image object, making them accessible via a corresponding Image Access object image-access.
image-access must be an Image Access object returned by make-image-access.
Notionally image-access-transfer-from-image
transfers the pixel data from the window system into image-access, though it might do nothing on platforms where the window system allows direct access to the pixel data.
You can read the pixel data with image-access-pixel and image-access-pixels-to-bgra.
You can write the pixel data with (setf image-access-pixel)
and image-access-pixels-from-bgra.
(example-edit-file "capi/graphics/image-access")
image-access-transfer-to-image
image-access-pixel
image-access-pixels-from-bgra
image-access-pixels-to-bgra
free-image-access
make-image-access
13.10.8 Image access
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44