FingerImage.fromBuffer Method

Module: FingerImage

Definition

Creates an Image from the specified data buffer.

static FingerImage fromBuffer(Uint8List? data, PixelFormat pixelFormat)

Parameters

data Uint8List
in A buffer that contains the image data.

pixelFormat PixelFormat
in The destination pixel format to convert the input to.

Returns

The newly created finger image.

Exceptions

An error has occurred during Finger Library execution.