FingerWsq.encodeToBuffer Method¶
Module: FingerWsq
Definition¶
Encodes a FingerImage to a NIST WSQ data buffer.
static Uint8List encodeToBuffer(FingerImage image, double bitRate)
Parameters
image FingerImagein Image to encode to WSQ.
bitRate doublein WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.
Returns
Uint8ListBuffer to receive the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.