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 Devices Library execution.
int id3DevicesImageBuffer_GetPixels (
    ID3_DEVICES_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 id3DevicesError file for the list of possible error codes.