Image.getPixels Method

Module: Image

Definition

Gets a pointer to the image pixels.

Warning

This method is unsafe! The user must handle the pixels pointer carefully.

public IntPtr GetPixels()

Returns

IntPtr
Pointer to the image pixels.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImage_GetPixels (
    ID3_FACE_IMAGE hImage,
    void ** pixels)

Parameters

in Handle to the Image object.

pixels void **
out Pointer to the image pixels.

Returns

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