CaptureImage.getPixels Method

Module: CaptureImage

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 Devices Library execution.
int id3DevicesCaptureImage_GetPixels (
    ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
    void ** pixels)

Parameters

in Handle to the CaptureImage object.

pixels void **
out Pointer to the image pixels.

Returns

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