All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

NextPrevUpTopContentsIndex

image-access-transfer-from-image

Function
Summary

Gets the pixel values from an image.

Package

graphics-ports

Signature

image-access-transfer-from-image image-access

Arguments

image-access

An Image Access object

Description

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
(example-edit-file "capi/graphics/image-access")
See also

image-access-transfer-to-image
image-access-pixel
image-access-pixels-from-bgra
image-access-pixels-to-bgra
free-image-access
make-image-access
Image access


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex