The function
image-access-pixels-from-bgra
copies all the pixels to the Image Access object
image-access
from the vector
vector
.
vector
should contain a sequence of integer values in the range 0-255 for blue, green, red and alpha of each pixel. This function is optimized for the case where
vector
has element type
(unsigned-byte 8)
.
An error is signalled if
vector
is not of the correct length for the Image Access object, that is
(* 4
width
height
)
where
width
and
height
represent the size of
image-access
.
Note:
image-access-pixels-to-bgra must be called after this function (similarly to
(setf image-access-pixel)
).
image-access must be an Image Access object returned by make-image-access.
CAPI Reference Manual - 15 Dec 2011