FingerImage.set Method

Module: FingerImage

Definition

Sets the Image object fields.

Warning

This function does not allocate any memory and is unsafe! The user must handle the pixels pointer carefully.

public static FingerImage Set(int width, int height, PixelFormat pixelFormat, IntPtr pixels)

Parameters

width int
in The width, in pixels, of the image.

height int
in The height, in pixels, of the image.

pixelFormat PixelFormat
in The pixel format of the image.

pixels IntPtr
in A pointer to the image pixels of the image.

Returns

The newly created finger image.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerImage_Set (
    ID3_FINGER_IMAGE hFingerImage,
    int width,
    int height,
    id3FingerPixelFormat ePixelFormat,
    void * pixels)

Parameters

hFingerImage ID3_FINGER_IMAGE
in Handle to the FingerImage object.

width int
in The width, in pixels, of the image.

height int
in The height, in pixels, of the image.

in The pixel format of the image.

pixels void *
in A pointer to the image pixels of the image.

Returns

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