ImageBuffer.getPixels Method

Module: ImageBuffer

Definition

Gets a pointer to the pixels of the image. Unsafe! The user must handle the pixels pointer carefully.

public IntPtr GetPixels()

Returns

IntPtr
Pointer to the pixels of the image.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImageBuffer_GetPixels (
    ID3_FACE_IMAGE_BUFFER hImageBuffer,
    void ** pixels)

Parameters

in Handle to the ImageBuffer object.

pixels void **
out Pointer to the pixels of the image.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.